OceanStateEstimation.jl
This package is still at a very early stage of development. Currently it just provides the following functions and path variables.
OceanStateEstimation.dataverse_lists
OceanStateEstimation.get_ecco_files
OceanStateEstimation.get_ecco_variable_if_needed
OceanStateEstimation.get_ecco_velocity_if_needed
OceanStateEstimation.get_from_dataverse
OceanStateEstimation.get_occa_velocity_if_needed
Physical Oceanography
A selection of ocean climatologies / state estimates are provided via the artifact system; see:
ECCOclim_path
(netcdf; downloaded on demand)OCCAclim_path
(netcdf; downloaded on demand)MITPROFclim_path
(binaries; readily downloaded)
CBIOMES-global climatology
OceanStateEstimation.dataverse_lists
— Methoddataverse_lists(lst::String)
Read and derive lists (ID,name,URL) from csv file (ID,name) and return as tuple
lists=dataverse_lists(lst)
OceanStateEstimation.get_ecco_files
— Functionget_ecco_files(γ::gcmgrid,v::String,t=1)
using MeshArrays, OceanStateEstimation
γ=GridSpec("LatLonCap","./")
tmp=get_ecco_files(γ,"oceQnet")
OceanStateEstimation.get_ecco_variable_if_needed
— Methodget_ecco_variable_if_needed(v::String)
Download ECCO output for variable v
to ECCOclim_path
if needed
OceanStateEstimation.get_ecco_velocity_if_needed
— Methodget_ecco_velocity_if_needed()
Download ECCO output for u,v,w
to ECCOclim_path
if needed
OceanStateEstimation.get_from_dataverse
— Methodget_from_dataverse(lst::String,nam::String,pth::String)
using OceanStateEstimation, CSV, DataFrames
lst=joinpath(dirname(pathof(OceanStateEstimation)),"../examples/OCCA_climatology.csv")
nams = CSV.File(lst) |> DataFrame!
nams = nams.name[:]
[get_from_dataverse(lst,nam,OCCAclim_path) for nam in nams]
OceanStateEstimation.get_occa_velocity_if_needed
— Methodget_occa_velocity_if_needed()
Download MITgcm
transport output to OCCAclim_path
if needed