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

Home » Public Forums » archive » netCDF
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
netCDF [message #768] Fri, 19 February 1993 10:12 Go to next message
ryan is currently offline  ryan
Messages: 4
Registered: June 1992
Junior Member
I get bus errors and seg. faults when I try to do a ncdf_varget with
a range specified. Usually IDL is much more gracefull about such things.
I may track it down and post a summary later.

Ryan
Re: netCDF [message #36474 is a reply to message #768] Wed, 24 September 2003 15:58 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Reimar Bauer wrote:
> I am debuging at the moment a problem which has to do something with
> NCDF_CONTROL,file_id, /ENDEF
>
> Does somone know how to recognize /ENDEF has worked?

Try to put some data into the file? Or try some other operation whose
success depends on the file's mode? If it walks like a duck...

I don't think IDL has any way to inquire whether the netCDF file is in
define or data mode. Normally I keep track of that myself.


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: NETCDF [message #84118 is a reply to message #768] Tue, 30 April 2013 05:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gompie writes:

> I want to extract select months ( say AMJJA) from a netcdf file.
> How can I do this in idl.

selectMonths = Where(months GE 4 AND months LE 8)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: NETCDF
Next Topic: Maps, overlaying, and !Pmulti (again)

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

Current Time: Wed Oct 08 13:39:23 PDT 2025

Total time taken to generate the page: 0.00659 seconds