problem DDS in HDF server

James Gallagher jhrg at mac.com
Wed Sep 13 08:19:26 PDT 2006


On Sep 13, 2006, at 4:48 AM, Benno Blumenthal wrote:

> James Gallagher wrote:
>
>> Yes, it is legal to not name the dimensions of the Grid's map  
>> vectors.
>>
>> James
>
>
> I suppose I have to believe, but I have the same question as  
> John.   I understand that one can have unnamed dimensions as well  
> as named dimensions in an array, i.e.
>
>    Byte call[IWMO = 14676][6];
>    Byte country_state[IWMO = 14676][2];
>
>
>
> , but it seems to me that once one has named a dimension, one needs  
> to consistently name it whereever it is used.   And I was under the  
> impression that I could only do the above outside of a Grid.
>
> Or is this just a special shorthand for map vectors?

Well, I think that the named dimension in the Array is not the same  
as the map vector itself, so it's not as if the same thing is being  
used with two different naming schemes. In one way of seeing things,  
it's a shorthand to not have the single dimension of a map vector  
named, but on the other hand, there's the argument that it's  
redundant to name both the vector and its sole dimension (assuming  
the names are the same, which in this case they would have to be).

James

>
> Benno
>
>> On Sep 12, 2006, at 5:49 PM, John Caron wrote:
>>
>>> http://reason.gsfc.nasa.gov/opendap-bin/nph-dods/FTP_DATA/ 
>>> Giovanni/ OPS/TOMS/EP/TOMS-EP_L3-TOMSEPL3_1996m0729_v8.HDF.dds
>>>
>>> has:
>>>
>>>  Dataset {
>>>    Structure {
>>>        Structure {
>>>            Grid {
>>>             ARRAY:
>>>                Float32 Ozone[YDim%3aTOMS%20Level%203 = 180][XDim%  
>>> 3aTOMS%20Level%203 = 288];
>>>             MAPS:
>>>                Float32 YDim%3aTOMS%20Level%203[180];
>>>                Float32 XDim%3aTOMS%20Level%203[288];
>>>            } Ozone;
>>>            Grid {
>>>             ARRAY:
>>>                Float32 Reflectivity[YDim%3aTOMS%20Level%203 =  
>>> 180] [XDim%3aTOMS%20Level%203 = 288];
>>>             MAPS:
>>>                Float32 YDim%3aTOMS%20Level%203[180];
>>>                Float32 XDim%3aTOMS%20Level%203[288];
>>>            } Reflectivity;
>>>            Grid {
>>>             ARRAY:
>>>                Float32 Aerosol[YDim%3aTOMS%20Level%203 = 180][XDim 
>>> % 3aTOMS%20Level%203 = 288];
>>>             MAPS:
>>>                Float32 YDim%3aTOMS%20Level%203[180];
>>>                Float32 XDim%3aTOMS%20Level%203[288];
>>>            } Aerosol;
>>>            Grid {
>>>             ARRAY:
>>>                Float32 Erythemal[YDim%3aTOMS%20Level%203 = 180] 
>>> [XDim %3aTOMS%20Level%203 = 288];
>>>             MAPS:
>>>                Float32 YDim%3aTOMS%20Level%203[180];
>>>                Float32 XDim%3aTOMS%20Level%203[288];
>>>            } Erythemal;
>>>        } Data%20Fields;
>>>    } TOMS%20Level%203;
>>>  } TOMS-EP_L3-TOMSEPL3_1996m0729_v8.HDF;
>>>
>>> Is this legal? I would have expected, eg
>>>           Grid {
>>>             ARRAY:
>>>                Float32 Ozone[YDim%3aTOMS%20Level%203 = 180][XDim%  
>>> 3aTOMS%20Level%203 = 288];
>>>             MAPS:
>>>                Float32 YDim%3aTOMS%20Level%203[YDim%3aTOMS%20Level 
>>> % 203 = 180];
>>>                Float32 XDim%3aTOMS%20Level%203[XDim%3aTOMS%20Level 
>>> % 203 = 288];
>>>            } Ozone;
>>>
>>
>> -- 
>> James Gallagher                jgallagher at opendap.org
>> OPeNDAP, Inc                   406.723.8663
>
>

--
James Gallagher                jgallagher at opendap.org
OPeNDAP, Inc                   406.723.8663



More information about the Opendap-tech mailing list