Skip to content

v2.0.0

Compare
Choose a tag to compare
@adamhsparks adamhsparks released this 23 Sep 13:22
30b29ee

nasapower 2.0.0

Bug Fixes

  • Correct any missing or redirecting URLs

  • Replace deprecated subclass with class in new_tibble()

  • Correct any missing or redirecting URLs

  • Replace deprecated subclass with class in new_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 a tibble() 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 that create_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-provided site_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