Skip to content

Module write_tif

This IGM module writes 2D field variables listed in the parameter vars_to_save into TIFF output files. The files are named using the variable name and the time step (e.g., thk-000040.tif, usurf-000090.tif) and are saved in the working directory. The saving frequency is determined by the parameter processes.time.save defined in the time module.

If the input files were loaded using the load_tif module, the TIFF metadata is preserved and included in the output files.

This module requires the rasterio library.

Config Structure

write_tif:
  vars_to_save:
      - usurf
      - thk

Parameters

Name Type Units Description Default Value
vars_to_save list dimless List of variables to be saved as geotiff files ['usurf', 'thk']

Example Usage