[gradsusr] change .cdf file to .nc file

Huddleston, John Huddleston at cira.colostate.edu
Wed Aug 31 09:24:26 EDT 2011


Dan

Just a comment, it looks like the data is in the wrong arrangement.

Your variable should be        float pdsi(T, Y, X) ;

That may be why you are getting the error.

John Huddleston

-----Original Message-----
From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Dan Zhang
Sent: Wednesday, August 31, 2011 7:05 AM
To: GrADS Users Forum
Subject: [gradsusr] change .cdf file to .nc file

Dear all,

I have a .cdf file and need to merge it with other .nc files. However, I cannot use 'CDO' to edit it, saying 'Error (cdfReadVarSliceDP) : Unsupported array structure...'
Does anyone know how to chang it into .nc files? thanks

use  'nudump' to check the information and it's said:

netcdf data {
dimensions:
        T = 706 ;
        Y = 27 ;
        X = 34 ;
variables:
        float T(T) ;
                T:calendar = "360" ;
                T:pointwidth = 12.f ;
                T:gridtype = 0 ;
                T:units = "months since 1960-01-01" ;
        float Y(Y) ;
                Y:pointwidth = 2.5f ;
                Y:gridtype = 0 ;
                Y:units = "degree_north" ;
        float X(X) ;
                X:pointwidth = 2.5f ;
                X:gridtype = 0 ;
                X:units = "degree_east" ;
        float pdsi(X, Y, T) ;
                pdsi:missing_value = -99.999f ;
                pdsi:units = "unitless" ;




sincerely,

Dan


----------------------------------------------------------------------------------------------
Dan ZHANG

Max Planck Institute for Meteorology
Meteorological Insititute, University Hamburg KlimaCampus Room 407, Grindelberg 5 D-20144, Hamburg Germany

Tel(office):+49 (0)40 42838 5067
Fax:+49 (0)40 42838 5066

----------------------------------------------------------------------------------------------
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list