Module write_ncdf
This IGM module writes 2D field variables specified in the parameter list vars_to_save into the NetCDF output file defined by the parameter output_file (default: output.nc). The saving frequency is determined by the parameter processes.time.save in the time module.
This module requires the netCDF4 library.
Parameters
Default configuration file (write_ncdf.yaml):
write_ncdf:
output_file: output.nc
vars_to_save:
- topg
- usurf
- thk
- smb
- velbar_mag
- velsurf_mag
- uvelsurf
- vvelsurf
- wvelsurf
Description of the parameters:
| Name | Description | Default value | Units |
|---|---|---|---|
output_file
|
Output ncdf data file. | output.nc | — |
vars_to_save
|
List of variables to be recorded in the ncdf file. | ['topg', 'usurf', 'thk', 'smb', 'velbar_mag', 'velsurf_mag', 'uvelsurf', 'vvelsurf', 'wvelsurf'] | — |