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

[THREDDS #EFD-558110]: HDF5 (nested variable name) + NCML



Hello,

 It's possible to rename the nested variables in the ncml descriptions ?

 I deployed on the TDS server a ncml file that rename the nested variable 
"/HDFEOS/GRIDS/GeoGrid/Data_Fields/temperature" by 
"HDFEOS_GRIDS_GeoGrid_Data_Fields_temp" for the hdf5 file grid_1_2d.h5, but 
when i execute the request (OpenDAP service) :

http://climtest2.ipsl.polytechnique.fr:8080/thredds/dodsC/testAll-Hyrax-directory/data/ncml/TPs/tds/example.ncml.html

, the following response is appeared:

Error {
    code = 500;
    message = "New variable (HDFEOS_GRIDS_GeoGrid_Data_Fields_temp) must have 
datatype attribute";
};

 The ncml description is the following :

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="/usr/share/hyrax/data/hdf5/grid_1_2d.h5">
  <variable name="HDFEOS_GRIDS_GeoGrid_Data_Fields_temp" 
orgName="/HDFEOS/GRIDS/GeoGrid/Data_Fields/temperature"/>
</netcdf>

I also tested with the following ncml descriptions :

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="/usr/share/hyrax/data/hdf5/grid_1_2d.h5">
  <variable name="HDFEOS_GRIDS_GeoGrid_Data_Fields_temp" orgName="temperature"/>
</netcdf>

and with

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="/usr/share/hyrax/data/hdf5/grid_1_2d.h5">
  <variable name="/HDFEOS/GRIDS/GeoGrid/Data_Fields/temp" 
orgName="/HDFEOS/GRIDS/GeoGrid/Data_Fields/temperature"/>
</netcdf>

Please find the file hdf5 in attachment.

Do you have ideas? Thank you very much for your help.

Abdelrezzak BARA.

-Lansing Madry
  Unidata
  Boulder, Colorado


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.