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.
The Union aggregation is doing that for you <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> <aggregation type="union"> <netcdf location="data.nc"/> <netcdf location="geo.nc"/> </aggregation> </netcdf> more doc on this: http://www.unidata.ucar.edu/software/netcdf/ncml/v2.2/Aggregation.html#Union regards Antonio -- Antonio S. Cofiño Grupo de Meteorología de Santander Dep. de Matemática Aplicada y Ciencias de la Computación Universidad de Cantabria http://www.meteo.unican.es El miércoles, 14 de agosto de 2013 6:26:34, H. Joe Lee escribió:
Hi, I'm wondering if the following composition is possible in NcML. I read tutorial on the web but I could not find a solution yet. Let's assume that data.nc has no coordinate variables but geo.nc has. I'd like to create a data.ncml like below to import coordinate variables from a separate NetCDF file (i.e., geo.nc) so that I can visualize data variables in data.nc with IDV by opening data.ncml. <netcdf location="data.nc"> <!-- import geo-location data from external file. --> <variable name="Latitude" location="geo.nc"> <variable name="Longitude" location="geo.nc"> </netcdf> Is the above scenario possible with NcML via netcdf-java? If so, what NcML tag & attribute should I use to import variables from external files? Regards, -- HDF: Software that Powers Science _______________________________________________ netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
netcdf-java
archives: