mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
fix jira NCF-191 reported by Manke
This commit is contained in:
parent
65350dc361
commit
256a2d94bd
101
ncdap_test/expectremote3/slp_aggregated.1.dmp
Normal file
101
ncdap_test/expectremote3/slp_aggregated.1.dmp
Normal file
@ -0,0 +1,101 @@
|
||||
netcdf slp_aggregated {
|
||||
dimensions:
|
||||
lat = 1 ;
|
||||
lon = 1 ;
|
||||
time = 62 ;
|
||||
variables:
|
||||
short slp.slp(time, lat, lon) ;
|
||||
slp.slp:_CoordinateAxes = "time lat lon " ;
|
||||
slp.slp:long_name = "mean Daily Sea Level Pressure" ;
|
||||
slp.slp:unpacked_valid_range = 87000.f, 115000.f ;
|
||||
slp.slp:actual_range = 92750.f, 109922.f ;
|
||||
slp.slp:units = "Pascals" ;
|
||||
slp.slp:add_offset = 119765.f ;
|
||||
slp.slp:scale_factor = 1.f ;
|
||||
slp.slp:missing_value = 32766s ;
|
||||
slp.slp:precision = 0s ;
|
||||
slp.slp:least_significant_digit = -1s ;
|
||||
slp.slp:GRIB_id = 2s ;
|
||||
slp.slp:GRIB_name = "PRMSL" ;
|
||||
slp.slp:var_desc = "Sea Level Pressure" ;
|
||||
slp.slp:dataset = "NCEP Reanalysis Daily Averages" ;
|
||||
slp.slp:level_desc = "Sea Level" ;
|
||||
slp.slp:statistic = "Mean" ;
|
||||
slp.slp:parent_stat = "Individual Obs" ;
|
||||
slp.slp:valid_range = -32765s, -4765s ;
|
||||
|
||||
// global attributes:
|
||||
:Conventions = "COARDS" ;
|
||||
:title = "mean daily NMC reanalysis (2010)" ;
|
||||
:history = "created 2009/12 by Hoop (netCDF2.3)" ;
|
||||
:description = "Data is from NMC initialized reanalysis\n",
|
||||
"(4x/day). It consists of most variables interpolated to\n",
|
||||
"pressure surfaces from model (sigma) surfaces." ;
|
||||
:platform = "Model" ;
|
||||
:references = "http://www.esrl.noaa.gov/psd/data/gridded/data.ncep.reanalysis.html" ;
|
||||
data:
|
||||
|
||||
slp.slp =
|
||||
-18215,
|
||||
-18233,
|
||||
-18208,
|
||||
-18135,
|
||||
-18208,
|
||||
-18288,
|
||||
-18205,
|
||||
-18145,
|
||||
-18273,
|
||||
-18348,
|
||||
-18253,
|
||||
-18035,
|
||||
-17935,
|
||||
-18015,
|
||||
-18010,
|
||||
-18025,
|
||||
-18048,
|
||||
-18125,
|
||||
-18230,
|
||||
-18235,
|
||||
-18198,
|
||||
-18225,
|
||||
-18145,
|
||||
-18128,
|
||||
-18068,
|
||||
-18090,
|
||||
-18118,
|
||||
-18143,
|
||||
-18123,
|
||||
-18208,
|
||||
-18248,
|
||||
-18015,
|
||||
-18050,
|
||||
-18135,
|
||||
-18190,
|
||||
-18238,
|
||||
-18133,
|
||||
-18070,
|
||||
-18095,
|
||||
-18200,
|
||||
-18245,
|
||||
-18293,
|
||||
-18418,
|
||||
-18420,
|
||||
-18320,
|
||||
-18160,
|
||||
-18015,
|
||||
-18050,
|
||||
-18145,
|
||||
-18015,
|
||||
-17955,
|
||||
-18288,
|
||||
-18348,
|
||||
-18268,
|
||||
-18178,
|
||||
-18338,
|
||||
-18475,
|
||||
-18330,
|
||||
-18205,
|
||||
-18278,
|
||||
-18255,
|
||||
-18225 ;
|
||||
}
|
@ -31,7 +31,7 @@ if test "x$timing" = "x1" ; then leakcheck=0; fi
|
||||
# get the list of test files
|
||||
WHICHTESTS="S1 C1 C2"
|
||||
if test -n "$longtests"; then
|
||||
WHICHTESTS="${WHICHTESTS} L1 LC1"
|
||||
WHICHTESTS="${WHICHTESTS} L1 LC1 LC2"
|
||||
fi
|
||||
|
||||
#locate the testdata and expected directory
|
||||
@ -85,7 +85,6 @@ test.sds4 test.sds5 \
|
||||
test.vs1 test.vs2 test.vs3 test.vs4 test.vs5 \
|
||||
whoi"
|
||||
|
||||
|
||||
# Anything larger than about 100k will not be in the distribution
|
||||
TOOBIGL1="parserBug0001 test.satimage Sat_Images test.32"
|
||||
|
||||
@ -131,6 +130,9 @@ REMOTEURLLC1="$DTS"
|
||||
REMOTETESTSLC1="\
|
||||
test.03;2;s1"
|
||||
|
||||
REMOTEURLLC2="http://ferret.pmel.noaa.gov/geoide/dodsC/PSDgriddedData/ncep.reanalysis.dailyavgs/surface"
|
||||
REMOTETESTSLC2="slp_aggregated;1;slp.slp[23255:23316][29:29][88:88]"
|
||||
|
||||
# Unknown problem: test.07;2;&age>2
|
||||
IGNORE="test.07.2"
|
||||
|
||||
@ -229,6 +231,7 @@ for i in $WHICHTESTS ; do
|
||||
C2) TESTURL="$REMOTEURLC2" ; TESTSET="$REMOTETESTSC2" ; constrained=1 ;ncconstrained=0 ;;
|
||||
C3) TESTURL="$REMOTEURLC3" ; TESTSET="$REMOTETESTSC3" ; constrained=1 ;ncconstrained=0 ;;
|
||||
LC1) TESTURL="$REMOTEURLLC1" ; TESTSET="$REMOTETESTSLC1" ; constrained=1 ;;
|
||||
LC2) TESTURL="$REMOTEURLLC2" ; TESTSET="$REMOTETESTSLC2" ; constrained=1 ;;
|
||||
X) TESTURL="$REMOTEURLX" ; TESTSET="$REMOTETESTSX" ; constrained=0 ;;
|
||||
XC) TESTURL="$REMOTEURLXC" ; TESTSET="$REMOTETESTSXC" ; constrained=1 ;;
|
||||
*) echo "Unknown which test: $i" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user