netcdf-c/ncdap_test/expected3/Drifters.dmp
Dennis Heimbigner dc9e31df68 Fix for github issue https://github.com/Unidata/netcdf-c/issues/310.
The problem was that for opendap, it is possible to use keywords
as identifiers
 when there is no ambiguity. However, the DAP2
parser lost the case of the identifier used the lower case version.
Fix is to use the actual text of the symbol when it is used as an identifier.
Also added a test case for this (kwcase.*).

Additionally cleaned up some misc. dap2 testing problems.
1. ncdap_test/tst_ncdap3.sh was using an empty test set.
   restored the testing of datasets.
2. as a consequence of #1, some tests needed to be updated with minor
   tweeks.
3. fix dapmerge to handle multiple DODS_EXTRAS attributes.
4. modify buildattribute to suppress nul characters and terminate
   the name at the first nul.
5. clean up various test scripts to remove residual, unused
   references to obsolete netcdf-4 translation.
6. export e.g. NCDUMP from test_common.in so that non-top-level
   shell scripts can access it.
2017-06-28 13:51:01 -06:00

151 lines
6.5 KiB
Plaintext

netcdf Drifters {
dimensions:
Drifters = 5 ;
maxStrlen64 = 64 ;
variables:
char Drifters.Drifter_ID(Drifters, maxStrlen64) ;
Drifters.Drifter_ID:Description = "String value used to uniquely identify each drifter instrument." ;
char Drifters.Date_Sampled(Drifters, maxStrlen64) ;
Drifters.Date_Sampled:Description = "A Date and time string" ;
Drifters.Date_Sampled:Timezone = "GMT" ;
double Drifters.Latitude(Drifters) ;
Drifters.Latitude:Description = "Latitude as recorded by ARGOS system" ;
Drifters.Latitude:units = "degrees_north" ;
double Drifters.Longitude(Drifters) ;
Drifters.Longitude:Description = "Longitude as recorded by ARGOS system" ;
Drifters.Longitude:units = "degrees_east" ;
double Drifters.SST(Drifters) ;
Drifters.SST:Description = "Sea Surface Temperature" ;
Drifters.SST:units = "degrees Celsius" ;
double Drifters.Ed_490(Drifters) ;
Drifters.Ed_490:Description = "Downwelling Irradiance Sensor at 490nm" ;
Drifters.Ed_490:Wavelength = 490.f ;
Drifters.Ed_490:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_412(Drifters) ;
Drifters.Lu_412:Description = "Upwelling Radiance Sensor at 412nm" ;
Drifters.Lu_412:Wavelength = 412.f ;
Drifters.Lu_412:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_443(Drifters) ;
Drifters.Lu_443:Description = "Upwelling Radiance Sensor at 443nm" ;
Drifters.Lu_443:Wavelength = 443.f ;
Drifters.Lu_443:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_490(Drifters) ;
Drifters.Lu_490:Description = "Upwelling Radiance Sensorat at 490nm" ;
Drifters.Lu_490:Wavelength = 490.f ;
Drifters.Lu_490:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_510(Drifters) ;
Drifters.Lu_510:Description = "Upwelling Radiance Sensor at 510nm" ;
Drifters.Lu_510:Wavelength = 510.f ;
Drifters.Lu_510:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_555(Drifters) ;
Drifters.Lu_555:Description = "Upwelling Radiance Sensor at 555nm" ;
Drifters.Lu_555:Wavelength = 555.f ;
Drifters.Lu_555:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_670(Drifters) ;
Drifters.Lu_670:Description = "Upwelling Radiance Sensor at 670nm" ;
Drifters.Lu_670:Wavelength = 670.f ;
Drifters.Lu_670:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.Lu_683(Drifters) ;
Drifters.Lu_683:Description = "Upwelling Radiance Sensor at 683nm" ;
Drifters.Lu_683:Wavelength = 683.f ;
Drifters.Lu_683:units = "microwatts per square cm per nanometer per steradian" ;
double Drifters.CHL(Drifters) ;
Drifters.CHL:Description = "Chlorophyl Concentration" ;
Drifters.CHL:units = "milligrams per cubic meter" ;
double Drifters.FLH(Drifters) ;
Drifters.FLH:Description = "Fluoresence Line Height" ;
Drifters.FLH:units = "microwatts per square cm per nanometer per steradian" ;
char Drifters.Region(Drifters, maxStrlen64) ;
Drifters.Region:Description = "Short description of study area (ex: Oregon, California, Southern Ocean, etc.)" ;
double Drifters.Decimal_Day(Drifters) ;
Drifters.Decimal_Day:Description = "The time of the mesurement in a decimal format, useful for plots, starts on January 1st 1993 or January 1st 2000." ;
char Drifters.Calibration_File(Drifters, maxStrlen64) ;
Drifters.Calibration_File:Description = "Path to the file on our file server of the calibration file for the drifter." ;
char Drifters.Drifter_Type(Drifters, maxStrlen64) ;
Drifters.Drifter_Type:Description = "Type of drifter." ;
// global attributes:
:Facility.PrincipleInvestigator = "Mark Abbott\n",
"Ph.D" ;
:Facility.DataCenter = "COAS Environmental Computer Facility" ;
:Facility.DrifterType = "MetOcean WOCE/OCM" ;
data:
Drifters.Drifter_ID =
"This is a data test string (pass 0).",
"This is a data test string (pass 5).",
"This is a data test string (pass 10).",
"This is a data test string (pass 15).",
"This is a data test string (pass 20)." ;
Drifters.Date_Sampled =
"This is a data test string (pass 1).",
"This is a data test string (pass 6).",
"This is a data test string (pass 11).",
"This is a data test string (pass 16).",
"This is a data test string (pass 21)." ;
Drifters.Latitude = 1000, 990.215996212637, 961.055438310771,
913.088940312308, 847.255111013416 ;
Drifters.Longitude = 999.950000416665, 988.771077936042, 958.243875512697,
908.965749674885, 841.900975162269 ;
Drifters.SST = 999.800006666578, 987.227283375627, 955.336489125606,
904.751663219963, 836.462649915187 ;
Drifters.Ed_490 = 999.550033748988, 985.584766909561, 952.333569885713,
900.447102352677, 830.940679100163 ;
Drifters.Lu_412 = 999.200106660978, 983.843692788121, 949.235418082441,
896.052497525525, 825.335614909678 ;
Drifters.Lu_443 = 998.750260394966, 982.00423511727, 946.042343528387,
891.568288195329, 819.648017845479 ;
Drifters.Lu_490 = 998.200539935204, 980.066577841242, 942.754665528346,
886.994922779284, 813.878456662534 ;
Drifters.Lu_510 = 997.55100025328, 978.030914724148, 939.372712847379,
882.332858610121, 808.027508312152 ;
Drifters.Lu_555 = 996.801706302619, 975.897449330605, 935.896823677935,
877.582561890373, 802.095757884292 ;
Drifters.Lu_670 = 995.952733011994, 973.666395005375, 932.327345606034,
872.744507645751, 796.083798549056 ;
Drifters.Lu_683 = 995.004165278026, 971.33797485203, 928.66463557651,
867.81917967765, 789.992231497365 ;
Drifters.CHL = 993.956097956697, 968.912421710645, 924.909059857313,
862.807070514761, 783.821665880849 ;
Drifters.FLH = 992.808635853866, 966.389978134513, 921.060994002885,
857.708681363824, 777.572718750928 ;
Drifters.Region =
"This is a data test string (pass 2).",
"This is a data test string (pass 7).",
"This is a data test string (pass 12).",
"This is a data test string (pass 17).",
"This is a data test string (pass 22)." ;
Drifters.Decimal_Day = 991.561893714788, 963.770896365891, 917.120822816605,
852.524522059506, 771.246014997106 ;
Drifters.Calibration_File =
"This is a data test string (pass 3).",
"This is a data test string (pass 8).",
"This is a data test string (pass 13).",
"This is a data test string (pass 18).",
"This is a data test string (pass 23)." ;
Drifters.Drifter_Type =
"This is a data test string (pass 4).",
"This is a data test string (pass 9).",
"This is a data test string (pass 14).",
"This is a data test string (pass 19).",
"This is a data test string (pass 24)." ;
}