OS: Redhat 7.1
DX: 4.1.3
DX'ers,
I am having problems getting the position attribute correct on
a netcdf file that I am creating. Here is a small example CDL
file that has one 3d field "cw_mr" and three arrays of earth
location positions of lon (x), lat (y), level (z).
The following use of "positions" and "product" came from the
usersguide in section B5. I think it is correct as far as I can tell.
DX crashes trying to import and before I can get any describe
messages.
Am I doing this wrong?
Bill
----------------------- cdl example --------------------------
netcdf testnetcdf {
dimensions:
lon = 61 ;
lat = 91 ;
level = 41 ;
variables:
double cw_mr(lon, lat, level) ;
cw_mr:long_name = "Cloud water mixing ratio" ;
cw_mr:units = "kg/kg" ;
cw_mr:navigation = "nav" ;
cw_mr:field = "cw_mr, scalar" ;
cw_mr:positions = "lon,product;
lat,product;
level,product" ;
float lat(lat) ;
float lon(lon) ;
float level(level) ;
// global attributes:
:title = "Cloud Data" ;
data:
cw_mr = 0,0, *DATA REMOVED*, 0, 0 ;
lat = 33, 33.0989, *DATA REMOVED*, 41.8022, 41.9011 ;
lon = 124, 124.0984, *DATA REMOVED*, 129.8033, 129.9016 ;
level = 9975, 9935, *DATA REMOVED*, 290, 90 ;
}
--
---------------------------------------------------
--- Bill Thorson
--- Software Engineer
--- Mission Research Corporation / *Aster Division
--- Ft. Collins, CO
---
--- Phone: 970-282-4400 #27
--- Email: [EMAIL PROTECTED]
---------------------------------------------------