Re: ordering of netCDF values

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 04 2013 - 14:02:40 MDT

The actual netCDF files are the same regardless of which
language is used to create them.

In NCL, the rightmost subscript varies fastest.
Hence T(0,0) is followed by T(0,1), T(0,2),....

Cheers
On 4/4/13 9:26 AM, steve kirby wrote:
> Thanks Dennis. I've got netCDF binaries so I assume they are written in FORTRAN...
>
> Thus when I do an ncdump and it says XY MemoryOrder, I assume the first T value, T(0,0), that I see displayed is for the lower-left portion of the grid, and the next value is T(0,1), etc.
>
> --Steve
>
>
>
>
> ________________________________
> From: Dennis Shea <shea@ucar.edu>
> To: steve kirby <thin_runner@yahoo.com>
> Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Sent: Wednesday, April 3, 2013 3:47 PM
> Subject: Re: ordering of netCDF values
>
> The "MemoryOrder' is based on the model code which is (usually) written
> in fortran.
>
> real foo(nx,ny)
>
> ---------------------
>
> In NCL, this same array, would be foo(ny,nx)
>
> The 2 languages refer to the *same array* via row (NCL) and
> column (fortran) major order.
>
> -----------------------
>
> In NCL, T(0,0) would always be the lower left element.
>
> On 4/3/13 3:38 PM, steve kirby wrote:
>> Hi,
>>
>> Does T2:MemoryOrder = "XY " imply that the 2-meter temperatures start (i.e., T2(0,0) value) at the lower-left of the grid?
>>
>> thanks,
>> Steve
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 4 14:02:33 2013

This archive was generated by hypermail 2.1.8 : Sun Apr 07 2013 - 21:13:30 MDT