polaris.ocean.vertical.grid_1d.generate_1d_grid

polaris.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 (polaris.config.PolarisConfigParser) – 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