netcdf-c/ncdump/cdl/ref_tst_group_data.cdl
Dennis Heimbigner 6d8809100f Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh)
1. When running under windows (as opposed to cygwin)
   we need to make sure to not user /cygdrive/ file paths.
   This was ocurring in libdap4/d4read.c, but may occur
   elsewhere.
2. Shell scripts in the git repo are not being checked-out
   with the executable mode set. Had core.filemode set to false.
   Was a major hassle to fix.
2017-04-03 21:39:44 -06:00

56 lines
807 B
Plaintext

netcdf ref_tst_group_data {
dimensions:
dim = 4 ;
variables:
float var(dim) ;
var:units = "m/s" ;
// global attributes:
:title = "for testing groups" ;
data:
var = 1, 2, 3, 4 ;
group: g1 {
dimensions:
dim = 1 ;
variables:
float var(dim) ;
var:units = "km/hour" ;
// global attributes:
:title = "in first group" ;
data:
var = 1 ;
} // group g1
group: g2 {
dimensions:
dim = 2 ;
variables:
float var(dim) ;
var:units = "cm/sec" ;
// global attributes:
:title = "in second group" ;
data:
var = 1, 2 ;
group: g3 {
dimensions:
dim = 3 ;
variables:
float var(dim) ;
var:units = "mm/msec" ;
// global attributes:
:title = "in third group" ;
data:
var = 1, 2, 3 ;
} // group g3
} // group g2
}