Re: [thredds] hdf5 in TDS (variables names)

Hi H. Joe, Hi John,

 Thank you very much for your responses.

 I use the 4.3.15 version (2012/12/18).

1) The dds response is :

Dataset {
   Float32 /HDFEOS/GRIDS/GeoGrid/Data%20Fields/temperature[YDim = 4][XDim = 8];
   String /HDFEOS%20INFORMATION/StructMetadata.0;
} testAll-Hyrax-directory/data/hdf5/grid_1_2d.h5;


 We can observe that the spaces are not replaced with the underscore character 
in my dds response.

The following resquestsalso fais:

http://.../thredds/dodsC/..../grid_1_2d.h5.ascii?/HDFEOS/GRIDS/GeoGrid/Data_Fields/temperature[0:1:3][0:1:7]
http://.../thredds/dodsC/..../grid_1_2d.h5.ascii?HDFEOS/GRIDS/GeoGrid/Data_Fields/temperature[0:1:3][0:1:7]

2) The CDM description :


  Group HDFEOS {
        ...

        Group GRIDS {
              Group GeoGrid {
                    ...
                    Group Data Fields {
                          variables:float temperature(YDim=4, 
XDim=8);                          ...
                   }

              }
        }
  }


Abdelrezzak BARA.


________________________________
 De : H. Joe Lee <hyoklee@xxxxxxxxxxxx>
À : Abdelrezzak BARA <bara_public@xxxxxxxx> 
Cc : "thredds@xxxxxxxxxxxxxxxx" <thredds@xxxxxxxxxxxxxxxx> 
Envoyé le : Jeudi 16 mai 2013 21h55
Objet : Re: [thredds] hdf5 in TDS (variables names)
 

Hi Abdelrezzak,

  I tested your attached file on our internal (not accessible from
public) test THREDDS server
and I could get the values without error:

http://puma.hdfgroup.uiuc.edu:8888/thredds/dodsC/testAll/data/HDF5/grid_1_2d.h5.ascii?temperature[0:1:3][0:1:7]

Dataset {
    Float32 temperature[YDim = 4][XDim = 8];
} testAll%2fdata%2fHDF5%2fgrid_1_2d%2eh5;
---------------------------------------------
temperature[4][8]
[0], 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0
[1], 11.0, 11.0, 11.0, 11.0, 11.0, 11.0, 11.0, 11.0
[2], 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0
[3], 13.0, 13.0, 13.0, 13.0, 13.0, 13.0, 13.0, 13.0

I don't know why your dataset query has the path
(HDFEOS/GRIDS/GeoGrid/Data%20Fields/) in the URL.

Our test server's version is: THREDDS Data Server [Version 4.2.10 -
20120417.2151]


--
HDF: Software that Powers Science


On Thu, May 16, 2013 at 2:06 PM, Ted Habermann <thabermann@xxxxxxxxxxxx> wrote:
> Hello,
>
> At the HDF group we are trying to improve our understanding of using HDF5 in
> a THREDDS environment. We will take a look as well.
>
> Ted
>
>
> On May 16, 2013, at 11:31 AM, Abdelrezzak BARA <bara_public@xxxxxxxx> wrote:
>
> Hello,
>
>  The real URL : (it's virtual server)
>
> http://climtest2.ipsl.polytechnique.fr:8080/thredds/dodsC/testAll-Hyrax-directory/data/hdf5/grid_1_2d.h5.ascii?/HDFEOS/GRIDS/GeoGrid/Data%20Fields/temperature[0:1:3][0:1:7]
>
> please find the file hdf5 in attachment.
>
> Thank you in advance.
>
> Abdelrezzak BARA.
>
> ________________________________
> De : Dennis Heimbigner <dmh@xxxxxxxxxxxxxxxx>
> À : "thredds@xxxxxxxxxxxxxxxx" <thredds@xxxxxxxxxxxxxxxx>
> Envoyé le : Jeudi 16 mai 2013 18h37
> Objet : Re: [thredds] hdf5 in TDS (variables names)
>
> Can you provide a real URL rather than a fake one?
> =Dennis Heimbigner
>   Unidata
>
> Abdelrezzak BARA wrote:
>> Hello,
>>
>>  I deployed on the TDS server a file hdf5 which contains the variable
>> whose the name is (dont le nom est) "/HDFEOS/GRIDS/GeoGrid/Data
>> Fields/temperature" (it's a composed name). It's a array of 32 bit Reals
>> [YDim = 0..3][XDim = 0..7]. The origine name of the variable is
>> temperature.
>>
>>
>> when I execute the request with the web browser :
>>
>>
>> http://host-sever:port/thredds/dodsC/......../grid_1_2d.h5.ascii?/HDFEOS/GRIDS/GeoGrid/Data%20Fields/temperature[0:1:3][0:1:7]
>>
>> , the following error is appeared:
>>
>> Error {code = 2;message = "The variable `/HDFEOS/GRIDS/GeoGrid/Data
>> Fields/temperature' was not found in the dataset.";};
>>
>> I also tested the following requests :
>>
>>
>> http://host-sever:port/thredds/dodsC/......../grid_1_2d.h5.ascii?temperature[0:1:3][0:1:7]
>>
>> http://host-sever:port/thredds/dodsC/......../grid_1_2d.h5.ascii?_HDFEOS_GRIDS_GeoGrid_Data%20Fields_temperature[0:1:3][0:1:7]
>>
>> , The same error is generated.
>>
>> For indication, The Hyrax server manages these compozed names well. The
>> following request passes well :
>>
>>
>> http://host-sever:port/opendap/......../grid_1_2d.h5.ascii?temperature[0:1:3][0:1:7]
>>
>> Have you idea and solutions for resolve this problem with the TDS server?
>>
>> Thank you very much for your help.
>>
>> Abdelrezzak BARA.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
> <grid_1_2d.h5>_______________________________________________
>
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
> ==== Ted Habermann ===========================
>    Director of Earth Science, The HDF Group
>    New phone#: (217) 531-4202
>    New email: thabermann@xxxxxxxxxxxx
> ==== thabermann@xxxxxxxxxxxx ==================
>
>
> _______________________________________________
> thredds mailing list
> thredds@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 thredds archives: