postprocess_data.readers.nemo_netcdf_reader module
- class postprocess_data.readers.nemo_netcdf_reader.NEMONetCDFProcessor(options)
Bases:
BaseNetCDFProcessorA class to process NEMO NetCDF files for physical and biological variables.
- options
Configuration options for processing files.
- Type:
object
- _generate_mask(var_type)
Generate a mask for the given variable type.
- Parameters:
var_type (str) – The variable type (‘bottom’ or ‘integrated’).
- Returns:
The generated mask.
- Return type:
DataArray
- _process_variable(ds, var, suffix)
Process a single variable from the dataset.
- Parameters:
ds (Dataset) – The input dataset.
var (str) – The variable name to process.
suffix (str) – Suffix to append to the variable name.
- Returns:
The processed variable. str: The units of the processed variable.
- Return type:
DataArray
- process_files()
Process NetCDF files for physical and biological variables.