[Go-essp-tech] modification time
Estanislao Gonzalez
gonzalez at dkrz.de
Tue Feb 21 10:45:06 MST 2012
Hi John,
We were wondering how to insert a modification time-stamp as part of the
TDS configuration catalog so we can know when the catalog was modified.
It should be located in the root catalog, so harvesting could be done on
the deltas.
Anyway, I can insert a date element into the catalogRef like this:
<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"
name="CORDEX catalog"
xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0
http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.2.xsd">
...
<catalogRef
name="CORDEX.EUR-44.MPI-M.MPI-ESM-LR.amip.CCLM.4-8.mon.v20110101"
xlink:title="CORDEX.EUR-44.MPI-M.MPI-ESM-LR.amip.CCLM.4-8.mon.v20110101"
xlink:href="1/CORDEX.EUR-44.MPI-M.MPI-ESM-LR.amip.CCLM.4-8.mon.v20110101.xml">
*<date type="modified">2010-06-09 12:58:22Z</date>*
</catalogRef>
</catalog>
And it gets properly displayed in the html view:
http://cmip2.dkrz.de/thredds/cordex/catalog.html
But it doesn't appear in the catalog:
http://cmip2.dkrz.de/thredds/cordex/catalog.xml
Is that wrong? Is there other method we could use for this?
Thanks,
Estani
--
Estanislao Gonzalez
Max-Planck-Institut für Meteorologie (MPI-M)
Deutsches Klimarechenzentrum (DKRZ) - German Climate Computing Centre
Room 108 - Bundesstrasse 45a, D-20146 Hamburg, Germany
Phone: +49 (40) 46 00 94-126
E-Mail: gonzalez at dkrz.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/go-essp-tech/attachments/20120221/6115f297/attachment.html
More information about the GO-ESSP-TECH
mailing list