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

Home » Public Forums » archive » How to pass NCDF files name to text files names?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to pass NCDF files name to text files names? [message #72660] Wed, 29 September 2010 05:05 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks
I am reading some NCDF files like this:
pathName="d:\p\"
List = findfile(pathName+"*.nc")
nosFiles=N_ELEMENTS(List)
data = ptrarr(nosFiles)
for i = 0, nosFiles - 1 do begin
ncid = NCDF_OPEN(list[i])
NCDF_VARGET, ncid, 0, lon
NCDF_VARGET, ncid, 1, lat
NCDF_VARGET, ncid, 2, concentration
NCDF_CLOSE, ncid ; Close the NetCDF file
*Here I need to save all of my files (in text format) in arrays with 3
columns and with name of NCDF file that I am reading (for instance:
L3b_20070716.txt, L3b_20070717 and so on)*
Endfor
In another word I need to pass my NCDF files name to text files names.
I don’t know how. Will you please help me?
Cheers,
Dave
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Coyote Facts
Next Topic: Accelerating a one-line program doing matrix multiplication

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

Current Time: Fri Oct 10 14:55:37 PDT 2025

Total time taken to generate the page: 1.38459 seconds