Re: [netcdf-java] add dimension to variable...

Yes. Here's an .ncml file that adds a new outer dimension (time, with
1 value: 1041379200) to the pic variable in the file named
A2003001.L3m_DAY_PIC_pic_4km.nc:

 <netcdf xmlns='http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2'>
   <variable name='time' type='int' shape='time' />
   <aggregation dimName='time' type='joinNew'>
     <variableAgg name='pic'/>
     <netcdf location='A2003001.L3m_DAY_PIC_pic_4km.nc'
coordValue='1041379200'/>
   </aggregation>
 </netcdf>

On Fri, Oct 2, 2015 at 12:35 PM, Tom Rink <rink@xxxxxxxxxxxxx> wrote:
> Hi,
>
> Can this be done via NcML? For example adding 'time=1' to a variable with
> only 'x', 'y'
>
> Tom
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/



-- 
Sincerely,

Bob Simons
IT Specialist
Environmental Research Division
NOAA Southwest Fisheries Science Center
99 Pacific St., Suite 255A      (New!)
Monterey, CA 93940               (New!)
Phone: (831)333-9878            (New!)
Fax:   (831)648-8440
Email: bob.simons@xxxxxxxx

The contents of this message are mine personally and
do not necessarily reflect any position of the
Government or the National Oceanic and Atmospheric Administration.
<>< <>< <>< <>< <>< <>< <>< <>< <><



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