Converts CDM DSGs (currently just Station time series features) to WaterML 2.0 timeseries.
This project contains source code from ERDDAP.
The license for ERDDAP is available in third-party-licenses/erddap/
.
We wanted to add the UDUNITS-to-UCUM unit conversion feature from ERRDAP to THREDDS. To that end, we copied the following files from the GitHub repository:
erddap/WEB-INF/classes/gov/noaa/pfel/erddap/util/EDUnits.java
erddap/WEB-INF/classes/gov/noaa/pfel/erddap/util/UcumToUdunits.properties
erddap/WEB-INF/classes/gov/noaa/pfel/erddap/util/UdunitsToUcum.properties
erddap/WEB-INF/classes/com/cohort/array/StringArray
erddap/WEB-INF/classes/com/cohort/util/Calendar2.java
erddap/WEB-INF/classes/com/cohort/util/Math2.java
erddap/WEB-INF/classes/com/cohort/util/String2.java
and moved them to the ucar.nc2.ogc.erddap.util
package. Also:
- Any code that was unrelated to the unit conversion feature was removed.
- Test code from
EDUnits
was broken off into a separate class. - The 5 original classes were renamed to begin with the prefix "Errdap".