Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,8 @@ install:
# - ./.travis_no_output sudo /usr/bin/pip install cfchecker
- ./.travis_no_output sudo /usr/bin/pip install https://pypi.python.org/packages/source/c/cfchecker/cfchecker-2.0.3.tar.gz#md5=54e780e8688ac743d1e21448a3901061

# Using table 23 due to a bug present in the current version
- ./.travis_no_output wget http://cf-pcmdi.llnl.gov/documents/cf-standard-names/standard-name-table/23/cf-standard-name-table.xml
# - ./.travis_no_output wget http://cf-pcmdi.llnl.gov/documents/cf-standard-names/standard-name-table/current/cf-standard-name-table.xml
- ./.travis_no_output wget http://cf-pcmdi.llnl.gov/documents/cf-standard-names/area-type-table/current/area-type-table.xml
- echo '#!/usr/bin/env sh' > cfchecker
- echo "cfchecks -s `pwd`/cf-standard-name-table.xml -a `pwd`/area-type-table.xml -u /usr/share/xml/udunits/udunits2.xml \$1" >> cfchecker
- echo "cfchecks -s `pwd`/etc/cf-standard-name-table.xml -a `pwd`/etc/area-type-table.xml -u /usr/share/xml/udunits/udunits2.xml \$1" >> cfchecker
- ./.travis_no_output sudo cp cfchecker /usr/local/bin/cfchecker
- ./.travis_no_output sudo chmod a+x /usr/local/bin/cfchecker

Expand Down
49 changes: 49 additions & 0 deletions etc/area-type-table.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0"?>
<area_type_table xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nonamespaceschemalocation="area-type-table-1.1.xsd">
<title>Area Type Table</title>
<version_number>1</version_number>
<date>5 December 2008</date>
<institution>Program for Climate Model Diagnosis and Intercomparison</institution>
<contact>webmaster@pcmdi.llnl.gov</contact>

<entry id="bare_ground">
<description></description>
</entry>
<entry id="all_area_types">
<description></description>
</entry>
<entry id="clear_sky">
<description></description>
</entry>
<entry id="cloud">
<description></description>
</entry>
<entry id="floating_ice">
<description>All ice floating on water including lake-ice, sea-ice, ice-shelves and icebergs.</description>
</entry>
<entry id="ice_free_sea">
<description></description>
</entry>
<entry id="lake_ice_or_sea_ice">
<description>Floating ice excluding ice-shelves and icebergs.</description>
</entry>
<entry id="land">
<description></description>
</entry>
<entry id="land_ice">
<description></description>
</entry>
<entry id="sea">
<description></description>
</entry>
<entry id="sea_ice">
<description></description>
</entry>
<entry id="snow">
<description></description>
</entry>
<entry id="vegetation">
<description></description>
</entry>

</area_type_table>