comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Dimensions in NetCDF files created by IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Dimensions in NetCDF files created by IDL [message #59149] Tue, 11 March 2008 06:36
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<6cb856a8-f604-468e-8129-602f96094175@b1g2000hsg.googlegroups.com>,
Tolly <gua@dmi.dk> 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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: On errors calculated by curve-fitting routines
Next Topic: pixel_size in mosaic_doit

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:46:32 PDT 2025

Total time taken to generate the page: 0.00636 seconds