Rasters.jl provides excellent methods for reading, analysing and plotting for geospatial data. This package contains modules that are useful for analysing oceanic data (either model output or gridded observations) and is designed to be used in conjunction with Rasters.jl. The modules are:
OceanVariableConversions, conversion and computation (using TEOS-10) of ocean variables that are
Rasterdata structures; and
RasterHistograms, empirical distribution fitting for
Rasterdata structures aiming to provide functionality similar to python's xhistogram for xarray in Julia.
Using the package
The package is installed using Julia's package manager
julia> ] (@v1.8) pkg> add OceanRasterConversions
backspace to exit the package manager.
To start using the package you will also need to have Rasters.jl installed (in the same manner as above but replace
To then use the packages type
julia> using Rasters, OceanRasterConversions
into the repl. The modules can also be loaded individually, to avoid loading in unnecessary funcitons into the workspace, by
julia> using OceanRasterConversions.RasterHistograms
and similarly for