v2.0.0
nasapower 2.0.0
Bug Fixes
-
Correct any missing or redirecting URLs
-
Replace deprecated
subclass
withclass
innew_tibble()
-
Correct any missing or redirecting URLs
-
Replace deprecated
subclass
withclass
innew_tibble()
Major Changes to Functionality
-
Following a UNIX-like philosophy, this release removes functionality to write APSIM .met and DSSAT ICASA files to disk.
nasapower now will only fetch the appropriate data and return atibble()
object in-session, please use apsimx or the POWER web API data access viewer, https://power.larc.nasa.gov/data-access-viewer/, for fetching and/or writing .met or .icasa files, respectively.
Note thatcreate_icasa()
ideally should have been deprecated, but the server was not responding properly when queried for some time before the current release of nasapower so the function has been removed. -
Add ability to
get_power()
to accept a user-providedsite_elevation
parameter that is passed to the API.
When this is used it will return a corrected atmospheric pressure value adjusted to the elevation provided.
Minor and Internal Changes
-
Use newest values from POWER team to validate user inputs for API requests, see #48 for more.
-
Replace raster with terra for examples of converting to spatial data in vignettes
-
Use vcr for enhanced testing
-
Refactor the internal handling of temporary files to allow for more efficient use of the future package