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

Home » Public Forums » archive » NCDF_VARGET and Insufficient number of indices in OFFSET array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: NCDF_VARGET and Insufficient number of indices in OFFSET array [message #93398 is a reply to message #93396] Mon, 04 July 2016 11:58 Go to previous message
andrewcool777 is currently offline  andrewcool777
Messages: 27
Registered: November 2012
Junior Member
OK, answering my own question...

The DDS descriptor for the file shows the Zonal Wind field defined as :-

ARRAY:
Float32 zonal_wnd[time = 1][lvl = 70][lat = 746][lon = 1088];
MAPS:
Float64 time[time = 1];
Float32 lvl[lvl = 70];
Float32 lat[lat = 746];
Float32 lon[lon = 1088];
} zonal_wnd;


However to read that data you need the following command :-

ncdf_varget, file_id, zw_id, zonal_wind, COUNT = [391,391,1,1], OFFSET = [428,191,0,0]

Who would have thought?

Another grey hair and another lesson learnt...

Andrew
[Message index]
 
Read Message
Read Message
Previous Topic: tm_test
Next Topic: dominant wavelength from an XYZ colour stimulus

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

Current Time: Wed Oct 08 11:35:07 PDT 2025

Total time taken to generate the page: 0.00578 seconds