BUG FIX for commit 24ee1d2b
Commit 24ee1d2b contained a bug that kept G16 processing (and probably some others) from working properly -- they often ran, but produced only missing values for common RFL and BT fields. This was due to having a variety of data types for the scale_factor and add_offset variable attributes in the input NetCDF-format granule files. The current commit fixes this by introducing a much more comprehensive (and strict, conforming to the CF convention) set of routines to read and read-scale-and-offset numeric variables from NetCDF-format files. This will reduce inadvertent silent numeric overflows and/or loss of precision when reading in data. This is the first tranche of a "unified" NetCDF reader (perhaps writer) for CLAVR-x.
Showing
- src/main/cx_netcdf4_mod.f90 206 additions, 1218 deletionssrc/main/cx_netcdf4_mod.f90
- src/main/cx_netcdf4_mod.f90.inc01 40896 additions, 0 deletionssrc/main/cx_netcdf4_mod.f90.inc01
- src/main/cx_netcdf4_mod.f90.inc01.py 69 additions, 0 deletionssrc/main/cx_netcdf4_mod.f90.inc01.py
- src/main/cx_netcdf4_mod.f90.inc01.template 282 additions, 0 deletionssrc/main/cx_netcdf4_mod.f90.inc01.template
- src/main/cx_netcdf4_mod.f90.inc02 10392 additions, 0 deletionssrc/main/cx_netcdf4_mod.f90.inc02
- src/main/cx_netcdf4_mod.f90.inc02.py 64 additions, 0 deletionssrc/main/cx_netcdf4_mod.f90.inc02.py
- src/main/cx_netcdf4_mod.f90.inc02.template 431 additions, 0 deletionssrc/main/cx_netcdf4_mod.f90.inc02.template
Loading