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.
Config Structure
write_ncdf:
output_file: output.nc
vars_to_save:
- topg
- usurf
- thk
- smb
- velbar_mag
- velsurf_mag
- uvelsurf
- vvelsurf
- wvelsurf
Parameters
Name | Type | Units | Description | Default Value |
---|---|---|---|---|
output_file | str | dimless | Output ncdf data file | output.nc |
vars_to_save | list | dimless | List of variables to be recorded in the ncdf file | ['topg', 'usurf', 'thk', 'smb', 'velbar_mag', 'velsurf_mag', 'uvelsurf', 'vvelsurf', 'wvelsurf'] |