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
- gdir
oggm.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
- gdir
Notes
Files written to the glacier directory: