[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NcML aggregation question

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: NcML aggregation question
  • Date: Tue, 15 Jun 2010 17:14:47 -0600

On 6/15/2010 1:33 PM, Tommy Jasmin wrote:
John Caron wrote:
On 6/15/2010 1:02 PM, Tommy Jasmin wrote:
Hey John - would you mind looking at a simple joinNew aggregation and see if you
can tell why it's not working, if I send you the files?

yes, thats fine.

you should send stuff to address@hidden so someone else can answer (maybe) if im on vacation, as i will be after weds.
Thanks John, I will do that from now on. Since I already have your attention I'll
just send this one to you.
Files are attached - just trying to do a simple joinNew on two NPP files. I suspect there is some problem I am not seeing when the variableAgg variable is buried
down in a group.

The example files from the NcML aggregation web page work fine.


<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
<aggregation dimName="time" type="joinNew">
<variableAgg name="CloudBaseHeightTotal" />
<netcdf location="VCBHO_npp_d20030125_t084830_e084955_b00015_c20071213022754_den_OPS_SEG.h5" coordValue="0" /> <netcdf location="VCBHO_npp_d20030125_t084955_e085121_b00015_c20071213022754_den_OPS_SEG.h5" coordValue="10" />
</aggregation>
</netcdf>

1. theres no variable "CloudBaseHeightTotal" in those files

2. NPP doesnt put shared dimensions into its files (!). we fix this in

   ucar.nc2.dataset.conv.NppConvention

however, we are currently only guessing at what needs to be done. I started to fix it, when i saw the above. I will check in my fixes tommorrow, and you will have to continue to change that class as needed.

you can also look at

http://www.unidata.ucar.edu/software/netcdf-java/tutorial/CoordSysBuilder.html