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
- varname : str
variable name in gridded_data.nc
- fname : str
output file name (should end with tif), default is varname.tif
Notes
Files writen to the glacier directory:
- gdir :