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

Home » Public Forums » archive » Re: unable to set time attribute for netCDF in IDL
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: unable to set time attribute for netCDF in IDL [message #78188 is a reply to message #78179] Sat, 29 October 2011 10:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Stephanie writes:

> I struggle to create netCDF output that has the correctly time axis
> for further post-processing. I thought/tried different ways: (1)
> writing the time variable, read in from a correct netCDF file,
> directly to the output file, but it does not let me set the attribute.
> (2) creating a date-time axis myself, which does not seem trivial.
>
> Can you give advice or a code example on how to manage this issue?

I use the nCDF_File object in my Coyote Library to read,
write, and copy netCDF files. But I have updated the example
programs this morning to show how to write and read a time
dimension and variable in a netCDF file. You can find the
updated example program here:

http://www.idlcoyote.com/programs/ncdf_file_examples.pro

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Shape to raster
Next Topic: Shape to raster

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

Current Time: Sat Oct 11 09:20:20 PDT 2025

Total time taken to generate the page: 0.31987 seconds