Skip to content

Module read_output

This module enables the reading of a previously generated NetCDF output file, allowing IGM to operate as though these quantities were freshly computed. It is particularly useful for testing the postprocessing module in isolation.

Contributors: G. Jouvet

Config Structure

read_output:
  input_file: output.nc
  crop: False
  xmin: -1.0e+20
  xmax: 1.0e+20
  ymin: -1.0e+20
  ymax: 1.0e+20

Parameters

Name Type Units Description Default Value
input_file str dimless NetCDF input data file output.nc
crop bool dimless Crop the data from NetCDF file with given top/down/left/right bounds False
xmin float m X left coordinate for cropping the NetCDF data -1e+20
xmax float m X right coordinate for cropping the NetCDF data 1e+20
ymin float m Y bottom coordinate for cropping the NetCDF data -1e+20
ymax float m Y top coordinate for cropping the NetCDF data 1e+20