NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] joinExisting aggregation

Hi Eli:

It should work as you have it. Can you make me a little example that recreates the problem?

John

On 6/7/2013 2:31 PM, Eli Hunter wrote:
Hello,

I'm trying to aggregate a set on Netcdf files and have run into a
problem. The dimension I am trying to aggregate over is called datum,
but there is no datum variable, just a number of variables with
dimension datum. So I get an error like:

no coordinate variable for agg dimension= datum


My understanding is that I can create a variable datum using NCML in
this way:

<?xml version="1.0" encoding="UTF-8"?>
          <netcdf
xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
          <variable name="datum" shape="datum" type="int">
             <values start="0" increment="1" />
         </variable>
         <aggregation dimName="datum" type="joinExisting"
recheckEvery="15 min">
                <scan location="." suffix=".nc" />
          </aggregation>
  </netcdf>

But I continue to get the same error, as if no new variable is created.
Perhaps I am unable to use this method with the scan object? Or must the
dimension and variable be called "time".

Any insight would be appreciated.

Thanks,
Eli

_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/



  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: