Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Dimensions ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 5525 of 6454
Post > Topic >>

Re: Dimensions in NetCDF files created by IDL

by "Kenneth P. Bowman" <k-bowman@[EMAIL PROTECTED] > Mar 11, 2008 at 08:36 AM

In article 
<6cb856a8-f604-468e-8129-602f96094175@[EMAIL PROTECTED]
>,
 Tolly <gua@[EMAIL PROTECTED]
> wrote:

> Hello,
> I have created NetCDF file for variable with
> dimenstion (t,x,y,mon) using following code,
> but the problem is that when looking at the file with
> ncdump the dimensions of the variable have the
> the opposite order, (mon,y,x,t)
> Does anyone have an idea what the problem is
> when writing the variable?
> cheers,
> Tolly

Ncdump uses the C convention to write array dimensions (least-
rapidly-varying dimension first).  This is the opposite to
IDL's convention (most-rapidly-varying dimension first).  Your arrays
are OK, it is just that ncdump lists them in the "backwards"
order.

Ken Bowman
 




 2 Posts in Topic:
Dimensions in NetCDF files created by IDL
Tolly <gua@[EMAIL PROT  2008-03-11 01:55:43 
Re: Dimensions in NetCDF files created by IDL
"Kenneth P. Bowman&q  2008-03-11 08:36:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 14:00:08 CST 2008.