[ESG-CET] Remote Metadata Query API - ESG-CET Gateway - UCAR Wiki
Luca Cinquini
luca at ucar.edu
Fri Dec 4 16:32:24 MST 2009
Hi Craig:
On Dec 4, 2009, at 4:23 PM, Craig E. Ward wrote:
> https://wiki.ucar.edu/display/esgcet/Remote+Metadata+Query+API
>
> Luca:
>
> Before I start coding again, I want to confirm that the
> documentation on the above page is still correct. I also have some
> specific questions.
yes, it should be. If you see anything strange please let me know, but
as far as I remember the documented has been updated every time there
was a code change.
>
> It isn't clear to me what the relationship is between the DRS and
> the dataset id. In the wiki page, the example return from the
> getDatasetHierarchy() method includes a data element with an id
> attribute:
>
> <esg:dataset name="CCSM run b30.044e data" state="published"
> id="ucar.cgd.ccsm.b30.044e" />
>
> Is the string assigned to this attribute using the same syntax as
> the DRS with a "." filling the role of "/" in DRS URLs?
no, there is currently no relation between the DRS URLs and the
dataset ids. You should use the dataset ids for now, and possibly in
the future switch to the DRS ids when we (NCAR and PCMDI) include them
in our metadata.
>
> Is the string from the id attribute of the dataset element the
> string that the getDataFiles() method expects? If the web service
> were passed that string ("ucar.cgd.ccsm.b30.044e"), would it return
> an XML like the example in the wiki page?
yes, that's how it is supposed to work...
thanks, LUca
>
> Thanks,
>
> Craig
> --
> Craig E. Ward
> USC Information Sciences Institute
> 310-448-8271
> cward at ISI.EDU
More information about the ESG-CET
mailing list