Re: ordering of netCDF values

From: steve kirby <thin_runner_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 04 2013 - 09:26:50 MDT

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_at_ucar.edu> To: steve kirby <thin_runner_at_yahoo.com> Cc: "ncl-talk_at_ucar.edu" <ncl-talk_at_ucar.edu> Sent: Wednesday, April 3, 2013 3:47 PM Subject: Re: [ncl-talk] 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 09:27:02 2013

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