emsarray.conventions.shoc#
SHOC (Sparse Hydrodynamic Ocean Code) is the hydrodynamic model used by the Coastal Environmental Modelling Team at CSIRO. There are two related conventions: SHOC standard and SHOC simple.
SHOC standard is an Arakawa C grid dataset
with known coordinate names.
SHOC standard datasets can be simplified in to a SHOC simple dataset,
which is a curvilinear CF grid
with known coordinate names.
See also
SHOC standard files#
- class emsarray.conventions.shoc.ShocStandard(dataset, *, coordinate_names=None)#
SHOC datasets are
ArakawaCdatasets with predefined coordinate names for the four grids.- coordinate_names#
Coordinate names for SHOC datasets. The face coordinates are
y_centreandx_centre, left edge coordinates arey_leftandx_left, back edge coordinates arey_backandx_back, and node coordinates arey_gridandx_grid.
SHOC simple files#
- class emsarray.conventions.shoc.ShocSimple(dataset, *, latitude=None, longitude=None, topology=None)#
SHOC standard datasets can be simplified down to SHOC simple datasets, which are
CFGrid2Dcurvilinear grids. The latitude and longitude coordinate variables are namedjandi. Edge and node dimensions are dropped.