Corrects bug when querying the SB or SSE communities resulting in an error
Corrects example in vignette when creating a .met file
Update documentation to use ROxygen 7.0.0
Add new vignette, “Using nasapower with large geographic areas”
Update documentation URL
Correct URL in BibTeX version of citation
Supress output in console from APSIM::createMetFile()
for cleaner user experience
Updates parameters
internal data used to check against API before submitting queries
Updates vignette to improve quality and reduce build-time
Fix issues reported at https://cloud.r-project.org//web/checks/check_results_nasapower.html with failing tests. These tests should be skipped on CRAN but were not.
Fixes bug where missing values in POWER data were not properly replaced with NA
in tibble
and metFile outputs
Fixes bug in documentation for create_icasa()
where the parameter for file_out
was misidentified as just file
Fixes bug where .met files were not created properly including where “radn” and “rain” col headers were reversed
Fix Warning: Must pass a scalar integer as 'nrow' argument to 'new_tibble()'.
Fixes bug where “CLIMATE” could not be requested for a single point
GLOBAL
values are requested. This is now specified in lonlat
in conjunction with temporal_average = CLIMATOLOGY
.Adds example of fetching climate for a single point
Refactor code to split internal functions by functionality and add more complete test coverage
Removes internal check for data - community agreement, as all data is available for all communities, only the units change
Update links to latest documentation provided by the POWER team
nasapower
until the POWER team can properly address how pre-query validation should be performedCorrects an instance where vignette example executed on CRAN but should not
Adds link to POWER website in error message when query fails
Documentation .Rd files are now more readable with better formatting
Flesh out examples using naspower
data with raster
to create spatial objects for systems with low-RAM where the functionality may not work as expected
Standardise formatting of vignette subheadings
Spell check vignette
Updates documentation examples
Provides nicer method of printing data in R console
Updates tests for better coverage and removes non-functional tests
Removes dplyr
as an Import
Corrects issue where if()
was called with a vector of length 2 or more
Corrects logical operators &&
and ||
where they should be &
or |
Removes extra code in create_icasa()
and create_met()
that performed a duplicated check of latlon
values
Removes unnecessary checks for latlon
in get_power()
Provides corrections to documentation formatting as per CRAN volunteers’ requests
Provides edits and clarifications in DESCRIPTION’s Description and Title about the package’s uses and capabilities
nasapower is now a part of rOpenSci after peer-review of the code!
Provides access to all three communities, AG, SSE and and SB, not just AG
Uses new ‘POWER’ ‘API’ to download new 1/2 x 1/2 degree data
Adds function get_power()
to get weather data and optionally metadata as well
Adds function create_met()
to create ‘APSIM’ met objects from ‘POWER’ data
Adsd function create_icasa()
to create a text file of weather data for use in ‘DSSAT’ crop modelling
Internally, replaces httr package with crul
get_cell
and get_region
functions are deprecated in favour of get_power()
. The new POWER interface allows for the specification of single points or regional areas. Global coverage may be queried for Climatology. See the help for ?get_power()
for more details.MONTH
, DAY
and YYYY-MM-DD
were incorrectly reported in final data frame. This did not affect the weather data, YEAR
or DOY
columns.Fix bug where lon/lat values were improperly assigned internally due to row names not being ordered correctly in get_region()
Fix bug reports link in DESCRIPTION file
Correct vignette where it had said, “both of which will which will download”
Correct documentation for get_region()
, which incorrectly stated that it downloaded data for a 1 x 1 degree cell
Optimise arguments used in utils::read.table()
to ingest weather data in the get_cell()
and get_region()
functions more quickly
NEWS now formatted more nicely for easier reading
Add statement about possible performance and memory usage when using get_region()
in the vignette
Add an example of converting the data frame to a spatial object using raster to create a raster::brick()
Specify in documentation that a range of days to years can be specified for download
get_region()
and get_cell()
now default to download all weather vars
Add a check to see if POWER website is responding before making request for data. If not, stop and return error message to user.
get_region()
with multiple dates. https://github.com/ropensci/nasapower/issues/1Enhanced documentation
Superfluous function, .onLoad()
, removed from zzz.R
Tidied up startup message
Clean up vignette
Build vignette faster
Remove DATE from DESCRIPTION
Add new functionality to download regions in addition to single cells
Add static documentation website, https://docs.ropensci.org/nasapower/
Add startup message
Added a NEWS.md
file to track changes to the package.
First release, no changes to report yet