Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[thredds] Convert Kelvin data to Celsius

Folks,

I have a datasetscan to read GFS Model Data. A variable of a this data is
Temperature_surface. The units for Temperature is Kelvin. I would like of
show this data in degrees celsius. Can I configure this convertion through
of the files catalog.xml or wmsConfig.xml?

My current configurations:

*in catalog.xml:*
  <datasetScan name="gfs" ID="gfs" path="gfs" location="/simepar/gfs">
        <metadata inherited="true">
                <serviceName>simepar</serviceName>
                <authority>simepar.br</authority>
                <dataType>Grid</dataType>
                <dataFormat>GRIB</dataFormat>
                <creator>
                        <name vocabulary="">SIMEPAR > Tecnologia e
Informações Ambientais</name>
                        <contact url="http://www.simepar.br"; email="
http://www.simepar.br/site/internas/conteudo/contato/contato.shtml"; />
                </creator>
                <publisher>
                        <name vocabulary="">SIMEPAR > Tecnologia e
Informações Ambientais</name>
                        <contact url="http://www.simepar.br"; email="
http://www.simepar.br/site/internas/conteudo/contato/contato.shtml"; />
                </publisher>
        </metadata>
        <filter>
                <include wildcard="fh.*_tl.press_gr.0p5deg"/>
        </filter>
        <sort>
                <lexigraphicByName increasing="true"/>
        </sort>
        <addDatasetSize/>
        <!--netcdf xmlns="
http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
                <variable name="Temperature_surface">
                        <attribute name="units" type="String"
value="degreesC" />
                </variable>
        </netcdf-->
  </datasetScan>

*and in wmsConfig.xml:*

       <datasetPath pathSpec="gfs/??/*.0p5deg">
            <pathDefaults>
                <allowFeatureInfo>false</allowFeatureInfo>
                <defaultPaletteName>rainbow</defaultPaletteName>
                <defaultNumColorBands>254</defaultNumColorBands>
            </pathDefaults>

            <variables>
                <variable id="Temperature_surface">
                    <defaultColorScaleRange>10 35</defaultColorScaleRange>
                    <defaultNumColorBands>254</defaultNumColorBands>
                </variable>
            </variables>
        </datasetPath>


Thanks,

*Marco Aurélio Silva Neto*
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: