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_from_dataverse
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)
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_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]