Internals
Base.read
Base.read
Base.read
Base.read
Base.read
Base.read
Base.read
MakieCore.plot
OceanRobots.ArgoFiles.download
OceanRobots.ArgoFiles.list_floats
OceanRobots.ArgoFiles.readfile
OceanRobots.ArgoFiles.scan_txt
OceanRobots.CCHDO.ancillary_files
OceanRobots.CCHDO.download
OceanRobots.GDP.download
OceanRobots.GDP.list_files
OceanRobots.GDP_CloudDrift.add_ID!
OceanRobots.GDP_CloudDrift.add_index!
OceanRobots.GDP_CloudDrift.region_subset
OceanRobots.GDP_CloudDrift.to_DataFrame
OceanRobots.GDP_CloudDrift.to_Grid
OceanRobots.GDP_CloudDrift.trajectory_stats
OceanRobots.NOAA.download
OceanRobots.NOAA.download
OceanRobots.NOAA.download
OceanRobots.NOAA.download_historical_txt
OceanRobots.NOAA.list_realtime
OceanRobots.NOAA.list_stations
OceanRobots.NOAA.read_historical_monthly
OceanRobots.NOAA.read_historical_nc
OceanRobots.NOAA.read_historical_txt
OceanRobots.NOAA.read_station
OceanRobots.OceanOPS.get_list
OceanRobots.OceanOPS.get_list_pos
OceanRobots.OceanOPS.get_platform
OceanRobots.OceanOPS.get_url
OceanRobots.OceanOPS.list_platform_types
OceanRobots.OceanSites.index
OceanRobots.OceanSites.read_WHOTS
OceanRobots.OceanSites.read_variables
OceanRobots.cmems_sla.subset
OceanRobots.podaac_sla.get_grid
OceanRobots.podaac_sla.subset
OceanRobots.OceanOPS.get_list
— Functionget_list(nam=:Argo; status="OPERATIONAL")
Get list of platform IDs from OceanOPS API.
For more information see
- https://www.ocean-ops.org/api/1/help/
- https://www.ocean-ops.org/api/1/help/?param=platformstatus
list_Argo1=OceanOPS.get_list(:Argo,status="OPERATIONAL")
list_Argo2=OceanOPS.get_list(:Argo,status="CONFIRMED")
list_Argo3=OceanOPS.get_list(:Argo,status="REGISTERED")
list_Argo4=OceanOPS.get_list(:Argo,status="INACTIVE")
OceanRobots.OceanOPS.get_list_pos
— Functionget_list_pos(nam=:Argo; status="OPERATIONAL")
Get list of platform positions from OceanOPS API.
For more information see
- https://www.ocean-ops.org/api/1/help/
- https://www.ocean-ops.org/api/1/help/?param=platformstatus
OceanRobots.OceanOPS.get_platform
— Methodget_platform(i)
Get info on platform with id=i
(e.g., float or drifter) from OceanOPS API.
For more information see https://www.ocean-ops.org/api/1/help/
list_Drifter=OceanOPS.get_list(:Drifter)
tmp=OceanOPS.get_platform(list_Drifter[1000])
OceanRobots.OceanOPS.get_url
— Functionget_url(nam=:Argo; status="OPERATIONAL")
API/GET URL to OceanOPS API that will list platforms of chosen type.
Two URLs are reported; the second includes platform positions.
For more information see
- https://www.ocean-ops.org/api/1/help/
- https://www.ocean-ops.org/api/1/help/?param=platformstatus
- https://www.ocean-ops.org/api/1/help/?param=platformtype
OceanRobots.OceanOPS.list_platform_types
— Methodlist_platform_types()
List platform types.
Base.read
— Methodread(x::SurfaceDrifter,ii::Int)
Open file number ii
from NOAA ftp server using NCDatasets.jl
.
Server : ftp://ftp.aoml.noaa.gov/pub/phod/lumpkin/hourly/v2.00/netcdf/
Note: the first time this method is used, it calls GDP.list_files()
to get the list of drifters from server, and save it to a temporary file.
using OceanRobots
sd=read(SurfaceDrifter(),1)
OceanRobots.GDP.download
— Functiondownload(list_files,ii=1)
Download one drifter file from NOAA ftp server.
ftp://ftp.aoml.noaa.gov/pub/phod/lumpkin/hourly/v2.00/netcdf/
list_files=GDP.list_files()
fil=GDP.download(list_files,1)
OceanRobots.GDP.list_files
— Methodlist_files()
Get list of drifter files from NOAA ftp server or the corresponding webpage.
Base.read
— Methodread(x::CloudDrift, file)
Read a GDP/CloudDrift file.
OceanRobots.GDP_CloudDrift.add_ID!
— Methodadd_ID!(df,ds)
OceanRobots.GDP_CloudDrift.add_index!
— Methodadd_index!(df)
OceanRobots.GDP_CloudDrift.region_subset
— Methodregion_subset(df,lons,lats,dates)
Subset of df that's within specified date and position ranges.
OceanRobots.GDP_CloudDrift.to_DataFrame
— Methodto_DataFrame(ds)
OceanRobots.GDP_CloudDrift.to_Grid
— Methodto_Grid(gdf,grid)
OceanRobots.GDP_CloudDrift.trajectory_stats
— Methodtrajectory_stats(gdf)
Base.read
— Methodread(x::NOAAbuoy,args...)
Read a NOAA buoy file (past month).
Base.read
— Methodread(x::NOAAbuoy_monthly,args...)
Read a NOAA buoy file (historical).
OceanRobots.NOAA.download
— FunctionNOAA.download(sta::String,path=tempdir())
Download files for stations sta
from ndbc.noaa.gov
to path
.
OceanRobots.NOAA.download
— FunctionNOAA.download(stations::Union(Array,Int),path=tempdir())
Download files listed in stations
from ndbc.noaa.gov
to path
.
OceanRobots.NOAA.download
— MethodNOAA.download(MC::ModelConfig)
Download files listed in MC.inputs["stations"]
from ndbc.noaa.gov
to pathof(MC)
.
OceanRobots.NOAA.download_historical_txt
— MethodNOAA.download_historical_txt(ID,years)
Download files from https://www.ndbc.noaa.gov to temporary folder for chosen float ID
and years
.
OceanRobots.NOAA.list_realtime
— MethodNOAA.list_realtime(;ext=:all)
Get either files list from https://www.ndbc.noaa.gov/data/realtime2/ or list of buoy codes that provide some file type (e.g. "txt" for "Standard Meteorological Data")
lst0=NOAA.list_realtime()
lst1=NOAA.list_realtime(ext=:txt)
OceanRobots.NOAA.list_stations
— MethodNOAA.list_stations()
Get stations list from https://www.ndbc.noaa.gov/to_station.shtml
OceanRobots.NOAA.read_historical_monthly
— FunctionNOAA.read_historical_monthly(ID,years)
Read files from https://www.ndbc.noaa.gov to temporary folder for chosen float ID
and year y
.
OceanRobots.NOAA.read_historical_nc
— MethodNOAA.read_historical_nc(ID,year)
Read files from https://www.ndbc.noaa.gov to temporary folder for chosen float ID
and year y
.
OceanRobots.NOAA.read_historical_txt
— MethodNOAA.read_historical_txt(ID,y)
Read files from https://www.ndbc.noaa.gov to temporary folder for chosen float ID
and year y
.
OceanRobots.NOAA.read_station
— FunctionNOAA.read_station(station,path=tempdir())
Read station file from specified path, and add meta-data (units
and descriptions
).
Base.read
— Functionread(x::Gliders, file::String)
Read a Spray Glider file.
OceanRobots.ArgoFiles.download
— MethodArgoFiles.download(files_list,wmo)
Download an Argo profiler file.
OceanRobots.ArgoFiles.list_floats
— MethodArgoFiles.list_floats(;list=DataFrame())
Get list of Argo profilers from file ArgoFiles.list_floats()
.
Or write provided list
to file as a DataFrame.
using OceanRobots, ArgoData
ArgoFiles.list_floats(list=GDAC.files_list())
OceanRobots.ArgoFiles.readfile
— MethodArgoFiles.readfile(fil)
Read an Argo profiler file.
OceanRobots.ArgoFiles.scan_txt
— FunctionArgoFiles.scan_txt(fil="ar_index_global_prof.txt"; do_write=false)
Scan the Argo file lists and return summary tables in DataFrame format. Write to csv file if istrue(do_write)
.
ArgoFiles.scan_txt("ar_index_global_prof.txt",do_write=true)
ArgoFiles.scan_txt("argo_synthetic-profile_index.txt",do_write=true)
Base.read
— Functionread(x::OceanSite, ID=:WHOTS)
Read OceanSite data.
OceanRobots.OceanSites.index
— Methodindex()
Download, read and process the oceansites_index.txt
file. Return a DataFrame.
oceansites_index=OceanSites.index()
OceanRobots.OceanSites.read_WHOTS
— Functionread_WHOTS(fil)
Read an WHOTS file.
file="DATA_GRIDDED/WHOTS/OS_WHOTS_200408-201809_D_MLTS-1H.nc"
data,units=OceanSites.read_WHOTS(file)
OceanRobots.OceanSites.read_variables
— Methodread_variables(file,args...)
Open file from opendap server.
file="DATA_GRIDDED/WHOTS/OS_WHOTS_200408-201809_D_MLTS-1H.nc"
OceanSites.read_variables(file,:lon,:lat,:time,:TEMP)
OceanRobots.CCHDO.ancillary_files
— Methodancillary_files(cruise::Union{Symbol,String})
using OceanRobots
ID="33RR20230722"
list=OceanRobots.CCHDO.ancillary_files(ID)
OceanRobots.CCHDO.download
— FunctionCCHDO.download(cruise::Union(Symbol,Symbol[]),path=tempdir())
Download files listed in stations
from cchdo.ucsd.edu/cruise/
to path
.
using OceanRobots
ID="33RR20160208"
path=OceanRobots.CCHDO.download(ID)
OceanRobots.podaac_sla.get_grid
— Methodget_grid(;url=url0,file="",range_lon=360.0.+(-35.0,-22),range_lat=(34.0,45))
OceanRobots.podaac_sla.subset
— Methodpodaac_sla.subset()
For download directions, see this site
podaac_sla.subset(; read_from_file=SLA.file)
OceanRobots.cmems_sla.subset
— Methodcmems_sla.subset()
For download directions, see this site
For data documentation, see this page
cmems_sla.subset(username=username,password=password)