Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedia committed Jun 26, 2018
1 parent d691059 commit 0ba6d53
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 15 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Suggests:
loadeR.ECOMS,
visualizeR
Type: Package
Title: A climate4R Package for Handling Unit Transformations and Variable derivation
Version: 0.1.0
Date: 2018-06-25
Title: A climate4R Package for Performing Unit Conversion and Variable Derivation
Version: 0.1.1
Date: 2018-06-26
Authors@R: as.person(c(
"Santander Meteorology Group <http://meteo.unican.es> [cph]",
"Joaquin Bedia <[email protected]> [aut, cre]",
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
export(hurs2huss)
export(hurs2w)
export(huss2hurs)
export(huss2pvp)
export(rad2cc)
export(tas2ws)
export(udConvertGrid)
Expand Down
10 changes: 9 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,12 @@
## v0.1.0
* First public release with the `udConvertGrid` function for grid unit conversion
* Derivation utilities `rad2cc` and `huss2hurs`
* Added example datasets from NCEP reanalysis
* Added example datasets from NCEP reanalysis

## v0.1.1
* New derivation functions:
* `hurs2w` for water vapor mixing ratio estimation
* `hurs2huss` for conversion from relative to specific humidity
* `huss2pvp`, for partial vapor pressure estimation from specific humidity
* Add references to methods
* Other minor changes and documentation updates
2 changes: 1 addition & 1 deletion R/huss2hurs.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ huss2hurs <- function(huss, ps, tas) {
huss <- ws <- ps <- NULL
hurs <- suppressWarnings(bindGrid(l, dimension = "member"))
hurs$Variable$varName <- "hurs"
wt$Variable$level <- NULL
hurs$Variable$level <- NULL
attr(hurs$Variable, "units") <- "%"
attr(hurs$Variable, "longname") <- "Surface_air_relative_humidity"
attr(hurs$Variable, "description") <- "Estimated relative humidity from saturation pressure and specific humidity"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

`convertR` is an R package performing unit conversion and variable derivation using the [**climate4R**](http://meteo.unican.es/climate4r) Common Data Model.

Unit conversion is done via the Unidata's [UDUNITS](https://www.unidata.ucar.edu/software/udunits/) software libraries, tailoring the functionalities of the R package `udunits2` to the **climate4R** framework.
Unit conversion is done via the Unidata's [UDUNITS-2](https://www.unidata.ucar.edu/software/udunits/) software libraries, tailoring the functionalities of the R package `udunits2` to the **climate4R** framework.
4 changes: 2 additions & 2 deletions man/hurs2huss.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/hurs2w.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/huss2hurs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions man/huss2pvp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/rad2cc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions man/tas2ws.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ba6d53

Please sign in to comment.