netcdf-c/nczarr_test/ref_power_901_constants.cdl
Dennis Heimbigner 91168e33a0 Fix JSON quoted string processing in libnczarr
re: github issue https://github.com/Unidata/netcdf-c/issues/1982

The problem was that the libnczarr/zsjon.c handling of strings with
embedded double quotes was wrong; a one line fix.
Also added a test case.

Misc. other changes:

1. I Discovered, en passant, that the handling of 64 bit constants
had an error that was fixed.
2. cleanup of the constant conversion code to recurse on arrays of values.
2021-05-06 16:39:44 -06:00

39 lines
1.3 KiB
Plaintext

netcdf ref_power_901_constants {
dimensions:
lat = 361 ;
lon = 576 ;
variables:
float FRLAKE(lat, lon) ;
FRLAKE:fmissing_value = 999999986991104. ;
FRLAKE:long_name = "fraction_of_lake" ;
FRLAKE:standard_name = "fraction_of_lake" ;
FRLAKE:units = "1" ;
FRLAKE:valid_range = -999999986991104., 999999986991104. ;
FRLAKE:vmax = 999999986991104. ;
FRLAKE:vmin = -999999986991104. ;
float FRLAND(lat, lon) ;
FRLAND:fmissing_value = 999999986991104. ;
FRLAND:long_name = "fraction_of_land" ;
FRLAND:standard_name = "fraction_of_land" ;
FRLAND:units = "1" ;
FRLAND:valid_range = -999999986991104., 999999986991104. ;
FRLAND:vmax = 999999986991104. ;
FRLAND:vmin = -999999986991104. ;
float FRLANDICE(lat, lon) ;
FRLANDICE:fmissing_value = 999999986991104. ;
FRLANDICE:long_name = "fraction_of_land_ice" ;
FRLANDICE:standard_name = "fraction_of_land_ice" ;
FRLANDICE:units = "1" ;
FRLANDICE:valid_range = -999999986991104., 999999986991104. ;
FRLANDICE:vmax = 999999986991104. ;
FRLANDICE:vmin = -999999986991104. ;
float FROCEAN(lat, lon) ;
FROCEAN:fmissing_value = 999999986991104. ;
FROCEAN:long_name = "fraction_of_ocean" ;
FROCEAN:standard_name = "fraction_of_ocean" ;
FROCEAN:units = "1" ;
FROCEAN:valid_range = -999999986991104., 999999986991104. ;
FROCEAN:vmax = 999999986991104. ;
FROCEAN:vmin = -999999986991104. ;
}