It looks ok.  Have you tried just importing grid to see if it looks ok.  If
the attribute pick up fails, you could read the fixed grid once.  The read
the raw data arrays for each time step and use Replace(,"positions").


"Nicholas Yue" <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
03/21/2001 03:27:41 AM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   "Opendx-Users \(E-mail\)" <[email protected]>
cc:
Subject:  [opendx-users] NetCDF file import difficulty



Hi,

     I am attempting to import the following NetCDF file.

     It is a time series of scalar over a 3D curvilinear grid (grid is
constant
over time)

     I can sequence through in time slices and see the volume (via
sequencer and
slab) but the scalar doesn't seems to use the position provided by the
grid.

     Any pointer ? Have I missed out some attributes for the NetCDF
variables ?

Cheers

*************************************************************
bash-2.02$ ncdump -h xz3d.nc
netcdf xz3d {
dimensions:
        t = 2 ;
        X = 161 ;
        Y = 33 ;
        Z = 33 ;
        position = 3 ;
variables:
        float xgrid(Z, Y, X) ;
        float ygrid(Z, Y, X) ;
        float zgrid(Z, Y, X) ;
        float grid(Z, Y, X, position) ;
        float rhoVar(t, Z, Y, X) ;
                rhoVar:positions = "grid" ;
                rhoVar:field = "rhoVar, scalar, series" ;
        float uVar(t, Z, Y, X) ;
                uVar:positions = "grid" ;
                uVar:field = "uVar, scalar, series" ;
        float vVar(t, Z, Y, X) ;
                vVar:positions = "grid" ;
                vVar:field = "vVar, scalar, series" ;
        float wVar(t, Z, Y, X) ;
                wVar:positions = "grid" ;
                wVar:field = "wVar, scalar, series" ;
        float pVar(t, Z, Y, X) ;
                pVar:positions = "grid" ;
                pVar:field = "pVar, scalar, series" ;
        float KmVar(t, Z, Y, X) ;
                KmVar:positions = "grid" ;
                KmVar:field = "KmVar, scalar, series" ;
}

Cheers
--
Nicholas Yue                  | [EMAIL PROTECTED]
Analyst Programmer            | http://www.ermapper.com
Earth Resource Mapping        | Voice +61 8 9388-2900
Level 2, 87 Colin Street,     | Fax   +61 8 9388-2901
West Perth, Western Australia,|
Australia 6005

How can the Image Web Server benefit your organisation?
 Read a case study!
http://www.EarthEtc.com



Reply via email to