I downloaded the data
and was trying to create a geotiff image from this.
As mentioned I used harp to convert to an intermediate nc file using this :
harpconvert -a ‘CO_column_number_density_validity>50;bin_spatial(920,-5,0.025,1160,86,0.025);’
as wel as this :
harpconvert -a ‘CO_column_number_density_validity>50;keep(datetime_start,datetime_length,CO_column_number_density,latitude_bounds,longitude_bounds);bin_spatial(2001,-90,0.01,2001,-180,0.01);derive(CO_column_number_density)”,derive(CO_column_number_density)”,post_operations=
It does covert to the new nc files, however, when i try to open this
using gdal and read the array it shows a unique single value
band_ds = gdal.Open(sc.GetSubDatasets(), gdal.GA_ReadOnly)
band_array = band_ds.ReadAsArray()
The array has the value array([9.96920997e+36]), which i believe is
the Nodata value.
Can you please help me understand why this is happening ?
Also , After converting to a h5 file , if I want to convert it to a
tiff file , there are different bands for the lat and long bounds (
whose shapes are different from the CO column density ) . Can you also
please guide how to create a single geotiff file from this ?
Your help would be much appreciated .
Thanks and regards,