forked from Unidata/netcdf-c
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JSON quoted string processing in libnczarr
re: github issue Unidata#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.
- Loading branch information
1 parent
e6bdee5
commit 91168e3
Showing
15 changed files
with
128 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,6 @@ CMakeLists.txt.user | |
scan-build | ||
.deps | ||
.libs | ||
*.zip | ||
Makefile | ||
.DS_Store | ||
build-par | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
netcdf power_901_constants { | ||
netcdf ref_power_901_constants { | ||
dimensions: | ||
lat = 361 ; | ||
lon = 576 ; | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
netcdf ref_quotes { | ||
dimensions: | ||
time = 10 ; | ||
lat = 20 ; | ||
lon = 30 ; | ||
variables: | ||
float fractional_snow_cover(time, lat, lon) ; | ||
fractional_snow_cover:ID = 68b ; | ||
fractional_snow_cover:esa_cci_path = NaN ; | ||
fractional_snow_cover:long_name = "Surface Fraction Covered by Snow" ; | ||
fractional_snow_cover:orig_attrs = "{\'comment\': \'Grid cell fractional snow cover based on the Globsnow CCI product.\', \'long_name\': \'Surface fraction covered by snow.\', \'project_name\': \'GlobSnow\', \'references\': \'Luojus, Kari, et al. \"ESA DUE Globsnow-Global Snow Database for Climate Research.\" ESA Special Publication. Vol. 686. 2010.\', \'source_name\': \'MFSC\', \'standard_name\': \'surface_snow_area_fraction\', \'units\': \'percent\', \'url\': \'http://www.globsnow.info/\'}" ; | ||
fractional_snow_cover:orig_version = "v2.0" ; | ||
fractional_snow_cover:project_name = "GlobSnow" ; | ||
fractional_snow_cover:time_coverage_end = "2013-01-05" ; | ||
fractional_snow_cover:time_coverage_resolution = "P8D" ; | ||
fractional_snow_cover:time_coverage_start = "2003-01-05" ; | ||
fractional_snow_cover:units = "percent" ; | ||
fractional_snow_cover:url = "http://www.globsnow.info/" ; | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.