NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[thredds] Create an ncml file from THREDDS catalog

Hi,

I would like to use ncWMS/Godiva2 to show data from a THREDDS catalog. I guess that it is no possible to configure ncWMS to allow to browse THREDDS data catalog and the more similar could be to do a ncml file that virtually build a THREDDS catalog. I think it is more useful to view data from a graphical app. So you need the possibility to browse data, select date and file and see the data. That it is more useful than to have a THREDDS catalog, and browse through that till select a dataset, and then select a "viewer tool" as Godiva2/ncWMS

So, ss there a procedure to create a ncml file from a THREDDS catalog?
Another question is, all the files I have in my THREDDS catalog are bz2 zipped and I wonder if I can do an aggregation ncml file to read bz2 files

Here you have the catalog I have (http://cooweb.cmima.csic.es/thredds/):

---
<?xml version="1.0" encoding="UTF-8"?>
<catalog name="Coastal Ocean Observatory Satellite Data"
xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
    xmlns:dc="http://purl.org/dc/elements/1.1/";
        xmlns:xlink="http://www.w3.org/1999/xlink";>

  <service name="all" base="" serviceType="compound">
    <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" />
<service name="http" serviceType="HTTPServer" base="/thredds/fileServer/" />
    <service name="wcs" serviceType="WCS" base="/thredds/wcs/" />
    <service name="wms" serviceType="WMS" base="/thredds/wms/" />
<!--service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/" /-->
    <service name="ncml" serviceType="NCML" base="/thredds/ncml/"/>
    <service name="uddc" serviceType="UDDC" base="/thredds/uddc/"/>
    <service name="iso" serviceType="ISO" base="/thredds/iso/"/>
<!-- Afegit 6/11/2013 seguint https://github.com/asascience-open/ncSOS/ -->
    <service name="sos" serviceType="SOS" base="/thredds/sos/" />
  </service>

<dataset name="Coastal Ocean Observatory Satellite Data" collectionType="TimeSeries" harvest="true" ID="sst-14052001" authority="coo.icm.csic.es">

    <metadata inherited="true">
          <serviceName>all</serviceName>
          <dataType>Grid</dataType>
          <dataFormatType>NetCDF</dataFormatType>
        <keyword>SST AVHRR NOAA</keyword>
        <!--<contributor role="data manager">John Smith</contributor>
          <keyword>Atmospheric Science</keyword>
          <keyword>Aircraft Measurements</keyword>
          <keyword>Upper Tropospheric Chemistry</keyword>-->
        <!--  <abstract>
This project aims to determine the physiological adaptations of algae to the
           extreme conditions of Antarctica.
          </abstract>
          <publisher>
             <name vocabulary="DIF">AU/AADC</name>
<long_name vocabulary="DIF">Australian Antarctic Data Centre, Australia</long_name> <contact url="http://www.aad.gov.au/default.asp?casid=3786"; email="metadata@xxxxxxxxxx"/>
          </publisher>-->

<documentation type="summary">BZipped file of AVHRR data from NOAA and EUMETSAT/METOP satellites, acquired at the Coastal Ocean Observatory project, Institute of Marine Sciences (CSIC), Barcelona , Catalonia, Spain. Imported from Terascan software using erstocf java application (http://cooweb.cmima.csic.es/svn/codi/teledeteccio/netcdf/trunk/ers/). Variables: AVHRR channel 1, 2, 3a/b, 4, 5, time
, latitude, longitude, land mask and MCSST.</documentation>

      <documentation type="rights">Freely available</documentation>

    <!-- harvest=true in dataset when done -->
      <creator>
        <name vocabulary="DIF">Coastal Ocean Observatory (ICM-CSIC)</name>
        <contact url="http://coo.icm.csic.es"; email="coo@xxxxxxxxxxxxxx" />
      </creator>
      <publisher>
        <name vocabulary="DIF">Coastal Ocean Observatory (ICM-CSIC)</name>
        <contact url="http://coo.icm.csic.es"; email="coo@xxxxxxxxxxxxxx" />
      </publisher>

      <geospatialCoverage>
          <northsouth>
            <start>46.50073</start>
            <size>-11.5016</size>
            <units>degrees_north</units>
          </northsouth>
          <eastwest>
            <start>-15</start>
            <size>31.5</size>
            <units>degrees_east</units>
          </eastwest>
        </geospatialCoverage>

        <timeCoverage>
          <start>2001-05-14T13:15:00</start>
          <end>present</end>
        </timeCoverage>

<!--<variables vocabulary="CF-1.0">
<variable name="wv" vocabulary_name="Wind Speed" units="m/s">Wind Speed @ surface</variable> <variable name="wdir" vocabulary_name="Wind Direction" units= "degrees">Wind Direction @ surface</variable> <variable name="o3c" vocabulary_name="Ozone Concentration" units="g/g">Ozone Concentration @ surface</variable>
</variables>-->

     </metadata>

<datasetScan name="SST Satellite Data" ID="SST-052001" path="cooweb" location="/data/no-image/noaa/westmed" >

    <addDatasetSize/>
    <namer>
<!--regExpOnName regExp="([0-9]{4})([0-9]{2})([0-9]{2}).([0-9]{2})([0-9]{2}).([a-z]{1})([0-9]{2})"
                    replaceString="$4:$5 UTC ($6oaa$7)"/-->
<regExpOnName regExp="([0-9]{4})([0-9]{2})([0-9]{2}).([0-9]{2})([0-9]{2}).n([0-9]{2})"
                    replaceString="$4:$5 UTC (noaa$6)"/>
<regExpOnName regExp="([0-9]{4})([0-9]{2})([0-9]{2}).([0-9]{2})([0-9]{2}).m([0-9]{2})"
                    replaceString="$4:$5 UTC (metop$6)"/>
    </namer>
    <sort>
      <lexigraphicByName increasing="true" />
    </sort>
<addTimeCoverage datasetNameMatchPattern="([0-9]{4})([0-9]{2})([0-9]{2}).([0-9]{2})([0-9]{2}).$" startTimeSubstitutionPattern="$1-$2-$3T$4:$5:00" duration="15 minuts" />

 </datasetScan>

</dataset>

</catalog>
---

Thanks a lot,
Òscar

--
_______________________________________________________________________

Oscar Chic
Institut de Ciències del Mar (ICM-CSIC)    Tel:   +34 932309529
Pg. Marítim de la Barceloneta, 37-49       Fax:   +34 932309555
08003 Barcelona, Spain                     email: ochic@xxxxxxxxxxx
_______________________________________________________________________



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: