oggm.tasks.gridded_data_var_to_geotiff#

oggm.tasks.gridded_data_var_to_geotiff(gdir, varname, fname=None)[source]#

Writes a NetCDF variable to a georeferenced geotiff file.

The geotiff file will be written in the gdir directory.

Parameters
gdiroggm.GlacierDirectory

where to write the data

varnamestr

variable name in gridded_data.nc

fnamestr

output file name (should end with tif), default is varname.tif

Notes

Files written to the glacier directory: