[gdal-dev] Convert to temperature in degrees C in MODIS Ocean Color?

Joaquim Luis jluis at ualg.pt
Thu Jul 19 11:01:28 PDT 2012


Unfortunately the GMT5 CookBook is no longer in html so I have to refer 
you the section 4.21 - "Options for grids and images read via GDAL" - of


where you can see this example

"... Be warned, however, that things are not yet completed because while 
the data are scaled according to the
equation printed above (“Scaling Equation=(Slope*l3m_data) + Intercept = 
Parameter value”), this scaling
is not applied by GDAL on reading so it cannot be done automatically by 
GMT. One solution is to do the
reading and scaling via grdmath first, i.e.,"

0.000717185 MUL -2 ADD = sst.nc


> Thanks Etienne
>    But python is not my best skill in this session!!!!!!!!!!!!
> I will try!
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Convert-to-temperature-in-degrees-C-in-MODIS-Ocean-Color-tp4989237p4989377.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list