compass.ocean.vertical.grid_1d.generate_1d_grid

compass.ocean.vertical.grid_1d.generate_1d_grid(config)[source]

Generate a vertical grid for a test case, using the config options in the vertical_grid section

Parameters:

config (compass.config.CompassConfigParser) – Configuration options with parameters used to construct the vertical grid

Returns:

interfaces (numpy.ndarray) – A 1D array of positive depths for layer interfaces in meters