[Thread Prev][Thread Next][Index]

RE: [las_users] how can I join multiple netcdf files to generate a big animation?



Folks,

 

I tried the links below; they’re somewhat helpful.

 

This is what I should get:

 

Dataset {

  Grid {

    ARRAY:

      Float32 salinity[time = 12][lev = 78][lat = 689][lon = 1440];

    MAPS:

      Float64 time[time = 12];

      Float64 lev[lev = 78];

      Float64 lat[lat = 689];

      Float64 lon[lon = 1440];

  } salinity;

  Float64 time[time = 12];

  Float64 lev[lev = 78];

  Float64 lat[lat = 689];

  Float64 lon[lon = 1440];

} GDS_NC/gdem/sgdemv3s;

 

This is what I get:

Dataset {

    Float64 lat[lat = 689];

    Float64 lon[lon = 1440];

    Float64 depth[depth = 78];

    Float64 time[time = 12];

    Grid {

     ARRAY:

        Float32 salinity[depth = 78][lat = 689][lon = 1440];

     MAPS:

        Float64 depth[depth = 78];

        Float64 lat[lat = 689];

        Float64 lon[lon = 1440];

    } salinity;

} GDS_NC/gdem/sgdemv3s;

 

With the following <dataset> element:

 

<dataset name="GDEM/Salinity Datasets" ID="GDEM/Salinity Climatology" urlPath="GDS_NC/gdem/sgdemv3s">

 

    <metadata>

      <dataType>Grid</dataType>

      <dataFormat>NetCDF</dataFormat>

      <serviceName>all</serviceName>

    </metadata>

 

    <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">

      <aggregation dimName="time" type="joinNew">

        <netcdf location="file:/godae/home/ftp/pub/outgoing/static/ocn/gdem/sgdemv3s01.nc"/>

        <netcdf location="file:/godae/home/ftp/pub/outgoing/static/ocn/gdem/sgdemv3s02.nc"/>

...

 

        <netcdf location="file:/godae/home/ftp/pub/outgoing/static/ocn/gdem/sgdemv3s12.nc"/>

      </aggregation>

    </netcdf>

</dataset>

 

 


From: owner-las_users@xxxxxxxx [mailto:owner-las_users@xxxxxxxx] On Behalf Of Roland Schweitzer
Sent: Thursday, February 05, 2009 12:07 PM
To: Favio Medrano
Cc: oar.pmel.las_users@xxxxxxxx
Subject: Re: [las_users] how can I join multiple netcdf files to generate a big animation?

 

The way we recommend to accomplish this is to create an aggregation using the THREDDS data server.  Since you likely already have a TDS installed along with your LAS you can create a "join existing aggregation" in that server and use the resulting URL as input into LAS.

You can probably piece together how to do this by studying the TDS tutorial here: http://www.unidata.ucar.edu/Projects/THREDDS/tech/tutorial/NcML.htm

I'll make a note to our group to create some documentation for how to do this since it's what we recommend and is an FAQ for us.

Roland

Favio Medrano wrote:

Hi guys!

 

Hi have files containing information from a prediction model, something like this:

 

1_NATL3-JREF2.3_y2004m01_gridT.nc

1_NATL3-JREF2.3_y2004m02_gridT.nc

1_NATL3-JREF2.3_y2004m03_gridT.nc

1_NATL3-JREF2.3_y2004m04_gridT.nc

1_NATL3-JREF2.3_y2004m05_gridT.nc

1_NATL3-JREF2.3_y2004m06_gridT.nc

..

.

 

Each file contains information from one month, so right now I’m being able to see animations from one month, but what I want is to make animations from the whole year, I don’t know exactly how to do this, maybe making a xml in threads, or modifying the xml that describes each dataset.

 

I would appreciate if any of you guys can give me a guide to do this!

 

Regards

 

Favio Medrano

Telematica - CICESE Ensenada BC. Mex.

MSN: Favio_mj@xxxxxxxxxxx

 

 

 


[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement