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

Home » Public Forums » archive » Re: changing the content of a NCDF file
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: changing the content of a NCDF file [message #78319] Fri, 11 November 2011 07:07 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Ok, here is the solution (I was missing teh WRITE keyword in
NCDF_OPEN)

ncdf_id=NCDF_OPEN(file,/WRITE)
var_id=NCDF_VARID(ncdf_id,var)
NCDF_VARPUT, ncdf_id, var_id, new_data
NCDF_CLOSE, ncdf_id

Thank you,
nata
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: GRIB data question
Next Topic: Re: Find the nearest location only on left/right side in SRCOR and MATCH_2D function

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

Current Time: Wed Oct 08 18:39:47 PDT 2025

Total time taken to generate the page: 0.00433 seconds