b-cube / semantics-preprocessing

initial text preprocessors for the triplestore and feature classification
Other
2 stars 3 forks source link

Add id check for THREDDS config (as error!) #41

Closed roomthily closed 9 years ago

roomthily commented 9 years ago

See #38. Looks like the response is partially structured like a catalog/service/dataset blob so I'm thinking find one of:

Ick.

roomthily commented 9 years ago

And, no, not a good test.

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0" xmlns:xlink="http://www.w3.org/1999/xlink" name="THREDDS PSD Test Catalog" version="1.0.1">
  <service name="all" serviceType="Compound" base="">
    <service name="odap" serviceType="OPENDAP" base="/psd/thredds/dodsC/" />
    <service name="http" serviceType="HTTPServer" base="/psd/thredds/fileServer/" />
    <service name="wcs" serviceType="WCS" base="/psd/thredds/wcs/" />
    <service name="wms" serviceType="WMS" base="/psd/thredds/wms/" />
  </service>
  <catalogRef name="" xlink:href="/psd/thredds/catalog/Datasets/catalog.xml" xlink:title="Datasets">
    <metadata inherited="true">
      <serviceName>all</serviceName>
      <dataType>GRID</dataType>
    </metadata>
    <property name="DatasetScan" value="true" />
  </catalogRef>
  <catalogRef xlink:href="aggregations.xml" xlink:title="Aggregations" name="" />
</catalog>

Maybe the property plus requires_authorization name? Fantastic.

roomthily commented 9 years ago

This should do it: 5410a4b