[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20040428: netCDF F90 question
- Subject: 20040428: netCDF F90 question
- Date: Wed, 28 Apr 2004 14:24:21 -0600
Jingfeng Wang,
> To: address@hidden
> From: Jingfeng Wang <address@hidden>
> Subject: a question about netCDF data
> Organization: MIT
> Keywords: 200404281907.i3SJ7atK027679
The above message contained the following:
> I'm a new user of F90 netcdf. I wonder if the "count" vector of the
> NF90_GET_VAR function can be negative. This is equivalent to reading
> variables from south to north, rather than north to south as normally
> done. Thank you very much for your help. Sincerely,
>
>
> Jingfeng Wang
>
> MIT
The value of the "count" vector eventually reach the C library
implementation and are assumed to be unsigned integers; consequently,
negative values are not allowed.
You can accomplish what you want, however, by appropriately setting the
starting-indices and "stride" vectors in the obvious way.
Regards,
Steve Emmerson
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publically available
> through the web. If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.