Recent Releases of climaemet
climaemet - climaemet 1.4.2
- Improvements in
ggwindrose()(see #72):- Use
ggplot2::coord_radial()instead ofggplot2::coord_polar(). - New parameter
stack_reversefor changing the order of the stacks on each petal.
- Use
- Minimal ggplot2 version required is now
>= 3.5.0as a consequence of migrating toggplot2::coord_radial(). -
aemet_municupdated to January 2025. - Adapt functions to new response codes (#74).
What's Changed
- Update
ggwindrose()by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/73 - Adapt to new aemet response by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/76
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.4.1...v1.4.2
- R
Published by dieghernan 8 months ago
climaemet - climaemet 1.4.1
-
aemet_forecast_fires()now usesterra::combineLevels()(terra >=1.8-10). - Use CRAN DOI: 10.32614/CRAN.package.climaemet.
- Now the API key with the highest remaining quota is selected when performing a call (in prior versions the API Key was chosen randomly). This is expected to delay API throttling.
What's Changed
- Update steps in codecov action by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/67
- Update workflow by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/68
- Bump dieghernan/cran-status-check from 1 to 2 by @dependabot in https://github.com/rOpenSpain/climaemet/pull/69
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.4.0...v1.4.1
- R
Published by dieghernan 11 months ago
climaemet - climaemet 1.4.0
- New functions:
-
aemet_alerts()to get current meteorological alerts issued by AEMET. - Helper function
aemet_alert_zones()to obtain the zoning defined by AEMET for the alerts. -
aemet_forecast_fires()to get aSpatRasterwith the forecast of risk level of wildfires.
-
- Increase timeout limit with
httr2::req_timeout(). - Better management of non valid/duplicated/empty API keys.
- New packages added to 'Suggest': terra.
What's Changed
- Add new function
aemet_alerts()by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/60 - Improve alert functions by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/61
- Add aemetforecastfires by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/64
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.3.0...v1.4.0
- R
Published by dieghernan over 1 year ago
climaemet - climaemet 1.3.0
- Migrate from httr to httr2 (#50).
- New functions for beaches:
aemet_forecast_beaches()andaemet_beaches()(#54). - Use progress bars in downloads thanks to cli. New argument
progress = TRUEin most functions. - It is possible to use several API keys to avoid API throttling, see
?climaemet::aemet_api_key(#53). - New helper function
dms2decdegrees_2(). - Update
aemet_municwith January 2024 data. - New package in 'Suggests': mapSpain.
What's Changed
- Migrate to httr2 by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/51
- Handle several API keys by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/53
- Package update by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/55
- Add progress bars and test by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/57
- Add beaches by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/58
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.2.1...v1.3.0
- R
Published by dieghernan over 1 year ago
climaemet - climaemet 1.2.1
- On
aemet_monthly_period(extract_metadata = TRUE)honor thestartandendparameters. - Update docs.
What's Changed
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/rOpenSpain/climaemet/pull/46
- Bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/rOpenSpain/climaemet/pull/47
- Add revdep check by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/48
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.2.0...v1.2.1
- R
Published by dieghernan about 2 years ago
climaemet - climaemet 1.2.0
- Now it is possible to extract metadata from each API call using the
parameter
extract_metadata = TRUE(#40). - Improve the API call system to avoid API throttling.
-
aemet_stations()result is cached temporarily ontempdir(), avoiding unneeded API calls.
What's Changed
- Add Layers to example by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/38
- Can extract metadata on functions by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/41
- Lint package by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/42
- Update actions by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/44
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.1.1...v1.2.0
- R
Published by dieghernan over 2 years ago
climaemet - climaemet 1.1.1
- Fix an error on the conversion to sf objects.
- Documentation improvements.
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.1.0...v1.1.1
- R
Published by dieghernan over 2 years ago
climaemet - climaemet 1.1.0
- Add lubridate to "Suggest".
- Add
aemet_municdataset. - Add
scalesto Suggests. - Add forecast functions:
-
aemet_forecast_daily() -
aemet_forecast_tidy() -
aemet_forecast_hourly() -
aemet_forecast_vars_available()
-
- Improve
get_data_aemet()/get_metadata_aemet()to support more endpoints. - Add new vignette:
vignette("extending-climaemet"). - Fix error on
ggclimat_walter_lieth()(#35).
What's Changed
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/rOpenSpain/climaemet/pull/21
- Fix badges by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/23
- Add forecast by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/22
- Fix docs by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/24
- Reduce image size by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/25
- Add initial id to forecast function by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/28
- Rename and tidy results by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/30
- Improve format handling by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/31
- Update docs by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/32
- Update vignette by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/33
- Fix climatogram by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/36
New Contributors
- @dependabot made their first contribution in https://github.com/rOpenSpain/climaemet/pull/21
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v1.0.2...v1.1.0
- R
Published by dieghernan about 3 years ago
climaemet - climaemet 1.0.2
- Fix docs as per CRAN request
- R
Published by dieghernan over 3 years ago
climaemet - climaemet 1.0.1
- Add new citation.
- Adapt some examples.
- Remove
lubridatedependency. - No more messages when loading the library.
- R
Published by dieghernan almost 4 years ago
climaemet - climaemet 1.0.0
- package added to rOpenSpain project: repo transferred to https://github.com/rOpenSpain/climaemet
Breaking changes:
-
apikeyparameter has been deprecated on all the functions. Now the API Key is globally managed via an environment variable: seeaemet_api_key().
Major changes
- Results are provided on
tibble/tidyverseformat. - Results are parsed to the correct formats (numbers and dates when possible).
- Spatial support: New option
return_sfwould returnsfobjects instead of tibbles.sf (>= 0.9)required, listed on 'Suggests' so it is not strictly required. - API functions gain new parameters, as
verbose, to check results.
Enhancements
-
aemet_last_obs()now is vectorized and it can also retrieve all the stations at a glance withstation = "all" -
aemet_last_obs()now is vectorized and it can also retrieve all the stations at a glance withstation = "all" -
aemet_daily_clim()now is vectorized and it can also retrieve all the stations at a glance withstation = "all" - New function
get_metadata_aemet(). - New function
ggclimat_walter_lieth(). This function is now the default forclimatogram_*functions (experimental). Old behavior can be reproduced with optionsggplot2 = FALSE. - Plot functions gains new parameters (
verboseand...). Now it is possible to pass colors to the plotting functions. - New example datasets:
climaemet_9434_climatogram,climaemet_9434_temp,climaemet_9434_wind.
Internal changes
- Code optimization.
- Dependencies have been reviewed.
- Now palettes are generated with
hcl.colors()(base R)
What's Changed
- Validación inicial by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/1
- Move to v1.0.0 by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/3
- New API management and deprecating apikey args by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/5
- Include vignette by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/7
- Force pkgdown update by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/8
- Update actions cache version by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/11
- Add API key ro README by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/12
- Fix sf on GHA by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/15
- Last bits before release by @dieghernan in https://github.com/rOpenSpain/climaemet/pull/16
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v0.2.0...v1.0.0
- R
Published by dieghernan over 4 years ago
climaemet - climaemet 0.2.0
rename ggstripesstation() to climatestripesstation().
climatogram_normal(). New function to plot a Walter & Lieth climatic diagram from normal climatology values.
climatogram_period(). New function to plot a Walter & Lieth climatic diagram for a specified time period.
ggwindrose(). New function to plot windrose diagram.
windrose_days(). New function to plot a windrose (speed/direction) diagram of a station over a days period.
windrose_period(). New function to plot a windrose (speed/direction) diagram of a station over a time period.
Full Changelog: https://github.com/rOpenSpain/climaemet/compare/v0.1.0...v0.2.0
- R
Published by dieghernan over 4 years ago
climaemet - climaemet 0.1.0
FEATURES
Tools to download data from AEMET Open Data service Climate stripes plot function
Full Changelog: https://github.com/rOpenSpain/climaemet/commits/v0.1.0
- R
Published by dieghernan almost 5 years ago