Re: Question about addfiles

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Oct 15 2009 - 10:18:15 MDT

The doc for 'addfiles_GetVar" was updated to include:

===
Creates a reference that spans multiple data files and returns metadata.
(deprecated: see addfiles)
===

Please use "addfiles" directly.

http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml

Good luck
D
Gina Henderson wrote:
> Hi there,
>
> I want to use the addfiles function to add multiple files and extract a
> variable (var) in the form:
>
> files = systemfunc("ls *.nc")
> f = addfiles(files, "r")
> var = addfiles_GerVar(f, files, "var")
>
>
> However, the data is not sequential as are monthly files for winter
> months only, sep-may. When the variable var is extracted, how will the
> time dimension be ordered? I presume it would be somthing like,
> var(time, lat lon) where time goes (jan, feb, mar, apr, may, sep, oct,
> nov, dec), but I wanted to check.
>
> Thanks, Gina.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu, 15 Oct 2009 10:18:15 -0600

This archive was generated by hypermail 2.1.8 : Thu Oct 22 2009 - 12:22:52 MDT