heatwaveR 0.4.6 (2021-10-26) Unreleased

  • Updated SST time series to 2020-12-31

heatwaveR 0.4.6 (2021-10-25) Unreleased

  • Explicitly loading Rcpp due to a change in the behaviour of the package causing ERRORs on CRAN checks

heatwaveR (2021-09-21) Unreleased

  • Updated the MCS colour palette throughout the package
    • The new colour palette is very similar, but with improved contrast
  • Made a minor but important change to category() so that categories are based on temperature greater (lesser) than the thresholds and not greater (lesser) than or equal to

heatwaveR (2021-08-25) Unreleased

  • Updated the visualisation vignette to now include the code necessary to get geom_flame() to work with plotly now that it is no longer directly supported

heatwaveR (2021-03-17) Unreleased

heatwaveR (2021-02-10) Unreleased

  • Added more citations of the package

heatwaveR (2021-01-31) Unreleased

  • Added a categories argument to detect_event()
    • This allows one to determine the categories of events directly, rather than as a second step using the category() function

heatwaveR 0.4.5 (2021-01-23) 2021-01-07

  • Created a new vignette that shows how to save gridded MHW results to a NetCDF file

heatwaveR 0.4.5 (2021-01-07) 2021-01-07

  • Pushed new major version to CRAN

heatwaveR (2021-01-06) Unreleased

  • Some minor tweaks to satisfy CRAN

heatwaveR (2020-12-30) Unreleased

  • Pushing to GitHub actions now triggers codecov correctly

heatwaveR (2020-12-22) Unreleased

  • exceedance now outputs a one row all NA data.frame when there are no events in exceedance of the threshold
  • The previous version would return an error if no exceedances were detected, making it generally unusable in gridded data
  • All plotly dependencies were removed due to the orphaning of the package

heatwaveR (2020-12-16) Unreleased

  • Moved away from Travis CI to GitHub actions

heatwaveR (2020-11-18) Unreleased

  • Fixed bug in proto_event that caused joinAcrossGaps argument to flag the first n days of a time series as part of an event

heatwaveR (2020-11-13) Unreleased

  • Minor fixes for passing build

heatwaveR (2020-11-06) Unreleased

  • Remove the last offending trace of zoo from make_whole.
  • Fix miscellaneous typos and formatting inconsistencies.

heatwaveR (2020-10-31) Unreleased

  • Added MCScorrect argument to catgegory function that allows the user to bound the bottom threshold for MCS categories to -1.8C

heatwaveR (2020-07-30) Unreleased

  • dplyr v1.0.0 no longer handles empty data.frames the same

    • It now forces them to logical type, so empty data.frames no longer unnest with normal results
    • This was fixed by having detect_event and category return single row NA data.frames instead
  • Thinking about phasing out data.table

heatwaveR 0.4.4 (2020-06-27) 2020-06-27

  • Released v0.4.4 to CRAN

heatwaveR (2020-06-26) Unreleased

  • Re-wrote OISST and gridded detection vignettes after finding an ERDDAP server that hosts the NOAA OISST v2.1 data.
  • Updated the packaged time series to now use v2.1 data from 1982 to 2019

heatwaveR (2020-06-25) Unreleased

  • Minor bug fix in gridded detection vignette

heatwaveR (2020-06-15) Unreleased

heatwaveR 0.4.3 (2020-06-12) Unreleased

  • Release pushed to CRAN in light of changes to data.table and dplyr
  • Waiting until NOAA OISST data area available on an ERDDAP server before updating them

heatwaveR (2020-06-06) Unreleased

  • Updated the gridded data vignette to work with OISST v2.1

heatwaveR (2020-06-03) Unreleased

  • Ensured that newly released dplyr v1.0.0 did not introduce any bugs
  • Updated vignettes to now work with v2.1 of the OISST data

heatwaveR (2020-05-15) Unreleased

  • Fixed bug in detect_event() caused by data.table

    • data.table no longer allows rounding of NA values

heatwaveR (2020-05-08) Unreleased

heatwaveR (2020-05-05) Unreleased

  • Cleaned up the CITATION file

heatwaveR (2020-03-23) Unreleased

  • Improvement to legend appearance for event_line()
  • Improvement to plotting in category vignette

heatwaveR (2020-02-24) Unreleased

heatwaveR (2020-02-13) Unreleased

  • Added a new citation that used the heatwaveR package

heatwaveR (2020-02-05) Unreleased

  • Minor internal tweak to exceedance function

heatwaveR (2020-01-13) Unreleased

  • Added one small test to get codecov back up to 100%

heatwaveR (2020-01-08) Unreleased

  • Beginning to phase out dplyr and tibble dependencies
  • Replacing some dplyr functions with plyr as they appear to be slightly faster and also don’t have the same multicore issues that more recent dplyr developments have created
  • Added roundRes argument to detect_event() to allow users to decide the rounding precision of the returned results

heatwaveR 0.4.2 (2019-12-10) 2019-12-01

  • Minor change to ts2clm() that does not alter any functionality

heatwaveR 0.4.2 (2019-11-29) 2019-12-01

  • Publishing new stable version to CRAN due to removal of tidyverse from the list of suggested packages and the important bug fixes to category()

heatwaveR 0.4.2 (2019-11-26) 2019-12-01

  • Fixed bug in category() that incorrectly returned the difference between seas and thresh as the daily intensity value, rather than the actual temperature anomaly above seas

    • Also fixed the labelling of days below thresh as Moderate, they are now NA
  • category() now adds lower case letters to the ends of event names if there were multiple large events within the same year

    • This may cause backwards compatibility issues in very rare cases, but is a necessary change
  • Added roundVal argument to category() to allow users to decide the rounding precision of the returned results

heatwaveR (2019-11-23) Unreleased

  • Tripled the resolution of the logo in anticipation of creating hex stickers

heatwaveR (2019-11-19) Unreleased

  • Removed tidyverse from the list of suggested packages

heatwaveR (2019-11-03) Unreleased

  • The potentially backward compatibility breaking design change to have empty data.frames returned as one row of NA values was not as rare of a problem as first thought
  • While still respecting the need to not use 1:n vector creation, detect_event() and category() now produce empty data.frames and not one row NA dataframe
  • This should ensure continued backwards compatibility

heatwaveR (2019-11-03) Unreleased

  • A bug was discovered where the ts2clm() function does not first check that the time series being fed to it is in correct chronological order

    • This was fixed by ordering the data being fed to the function before beginning of the further calculations

heatwaveR (2019-10-30) Unreleased

  • An update to data.table sometime in August, 2019 reduced the packages tolerance for code with 1:n in it

    • As this is a potential memory weakness, when this creates an empty vector in multicore calculations it causes the entire run to fall over
    • Therefore, all use of 1:n has been replaced with seq_len(n)
    • This changed the list outputs when no MHWs are detected to be one row of NA values, rather than an empty list
    • This may cause backward compatibility issues, but is extremely unlikely

heatwaveR (2019-10-26) Unreleased

  • An update to the ggplot2 package some time back in August, 2019 changed slightly how Geoms work internally

    • This allowed geom_lolli() to fall over in very rare circumstances so this issue has been addressed

heatwaveR 0.4.1 (2019-09-09) 2019-09-09

  • Updated the OISST Preparation vignette to match the improvements to the rerddap package

  • Also updated the vignette to be more clear to contact NOAA about data retrieval issues

  • Added season argument to category(), which allows the user to specify which season of the MHWs they are interested in:

    • ‘range’ - The beginning and ending season of the MHW
    • ‘start’ - The season during the start of the MHW
    • ‘peak’ - The season during the peak of the MHW
    • ‘end’ - The season during the end of the MHW

heatwaveR (2019-07-22) Unreleased

  • Updated NOAA OISST data downloading tutorial to account for minor changes to NOAA ERDDAP servers

heatwaveR 0.4.0 (2019-07-10) 2019-07-11

  • Introduced the Algiers time series for examples on using multiple thresholds for atmospheric data
  • Fixed a bug in event_line()

heatwaveR 0.4.0 (2019-07-09) 2019-07-11

  • Changed the data.table and ggplot2 dependencies to imports
  • heatwaveR is now dependency free

heatwaveR (2019-05-29) Unreleased

  • Added the ability to choose the number of digits rounded to for the output of ts2clm()

heatwaveR (2019-02-11) Unreleased

  • Updated the end date for three time series packaged with heatwaveR to 2018-12-31

heatwaveR (2019-02-11) Unreleased

  • Added n and n_gap arguments to geom_flame() to allow proper screening of heatspikes
  • These additions also propagate through to geom2trace.GeomFlame

heatwaveR (2019-01-28) Unreleased

  • Added some additional options to event_line() to allow users to manipulate the output more without having to get into the source code.

heatwaveR (2019-01-23) Unreleased

heatwaveR 0.3.6 (2019-01-16) 2019-01-16

  • Updated Zenodo badge to reflect the upload of v0.3.6

heatwaveR 0.3.6 (2019-01-16) 2019-01-16

  • Finished Alternative Thresholds (Complex Climatologies) vignette

  • Bumped code coverage back up to 100%

  • AN important potential backwards compatibility breaking change is that by default ts2clm() and exceedance() will no longer produce a var column

    • The argument var = TRUE may be given to produce this column
  • Submitted v0.3.6 to CRAN

heatwaveR (2019-01-15) Unreleased

  • Began editing Alternative (Complex) Climatology vignette
  • Changed the default argument for exceedance(maxPadLength) from 3 to FALSE to match the new default for ts2clm()
  • Changed the default behaviour of event_line() to no longer require the user to provide start_date and end_date arguments

heatwaveR (2019-01-03) Unreleased

  • Corrected some typos in the gridded event detection vignette

heatwaveR (2019-01-02) Unreleased

  • First update of 2019
  • Added ‘protoEvents’ argument to detect_events.R() for returning the proto events rather than a table for the event metrics

heatwaveR (2018-12-26) Unreleased

  • Boxing day update

heatwaveR (2018-12-21) Unreleased

  • Updated text for the OISST preparation vignette
  • Updated text for the gridded event detection vignette

heatwaveR (2018-12-19) Unreleased

  • Updated text on the landing page to better reflect the updates that have been made over the past few months
  • Fixed typo in event_line() output
  • Updated text for the detection and visualisation vignette
  • Updated text for the exceedance vignette
  • Updated text for the categories vignette
  • Updated text for the OISST preparation vignette

heatwaveR (2018-12-18) Unreleased

heatwaveR (2018-12-12) Unreleased

  • Fixed bug in event_line() that caused it to graph events outside of the spread range
  • Expanded testing back up to 100%

heatwaveR (2018-12-06) Unreleased

  • Fixed bug caused by R not liking dates older than 1970-01-01
  • Changed maxPadLength behaviour in ts2clm() to match the Python default settings

heatwaveR (2018-12-05) Unreleased

  • Added ‘duration_max’ to block_average() output
  • Resumed correct version numbering

heatwaveR 0.3.5 (2018-12-03) Unreleased

heatwaveR 0.3.5 (2018-11-01) Unreleased

  • Updated one figure in a vignette

heatwaveR 0.3.5 (2018-10-26) Unreleased

  • clim_calc() reinstated to allow for calculation of clims with missing data
  • var calculations reinstated for documentation issues

heatwaveR 0.3.5 (2018-10-20) Unreleased

  • ts2clm() no longer calls clim_calc(), but clim_calc_cpp() only
  • smooth_percentile() no longer provides option to create variance climatology (the need to no longer create var seemed to not be fully implemented in 0.3.4)

heatwaveR 0.3.4 (2018-10-19) Unreleased

heatwaveR 0.3.4 (2018-10-17) Unreleased

  • All major functions now produce results only up to the fourth decimal place

heatwaveR 0.3.4 (2018-10-16) Unreleased

  • Clarified some information on the basic detection vignette
  • Corrected a link that went to the wrong page

heatwaveR 0.3.4 (2018-10-03) Unreleased

  • Changed error handling in proto_event() to return no events than to stop message with an error.
  • This change was picked up by detect_event() without any required changes
  • category() required a bit of cajoling to also output a blank dataframe

heatwaveR 0.3.4 (2018-10-01) Unreleased

heatwaveR 0.3.4 (2018-09-28) Unreleased

  • Removed several unnecessary columns from category climatology output

heatwaveR 0.3.4 (2018-09-27) Unreleased

  • Fixed bug in ts2clm() that prevented calculation of clims with large contiguous missing periods of data (e.g. ice coverage).
  • Added argument to category() that allows one to have the function also output the day-to-day (long) category values, rather than just the summary (wide) output.
  • Added lon/lat values to documentation for built-in time series

heatwaveR 0.3.3 (2018-08-23) 2018-08-02

  • Added CITATION file so that package citation is now set to JOSS article

heatwaveR 0.3.3 (2018-07-31) 2018-08-02

  • Added Zenodo DOI badge
  • JOSS review process complete
  • Added JOSS DOI badge

heatwaveR 0.3.3 (2018-07-25) 2018-08-02

  • BUG FIX: corrected issue with clim_calc_cpp not being able to calculate clims from baselines not beginning and ending on the Julian year by making clim_spread plug the gaps beforehand with row-wise means.
  • Rebuilt pkgdown site to reflect version increase
  • v0.3.3 submitted to CRAN

heatwaveR 0.3.2 (2018-07-23) Unreleased

  • Edits suggested through JOSS review

heatwaveR 0.3.2 (2018-07-12) Unreleased

  • Remove unneeded copies of data from functions to improve memory-use efficiency.

heatwaveR 0.3.1 (2018-07-10) Unreleased

  • BUG FIX: corrected issue with make_whole_fast which did not create a whole, complete time series (i.e. missing dates were still present); the missing dates caused clim_calc_cpp to fail

heatwaveR 0.3.0 (2018-06-22) 2018-06-22

  • Re-submitted to CRAN in anticipation of ggplot2 changes
  • proto_event now handles all event calculations ‘in house’
  • This allows detect_event to now be given a theoretically limitless number of thresholds

heatwaveR (2018-06-08) Unreleased

  • Logic catch for lolli_plot being asked to highlight more events than are present
  • New vignette that looks at calculating more complex climatologies

heatwaveR (2018-06-07) Unreleased

  • Tweak to ts2clm

heatwaveR (2018-06-05) Unreleased

  • Tweaks to detect_event and exceedance

heatwaveR (2018-06-02) Unreleased

  • Unused Rcpp code removed from master branch
  • Logo changed slightly
  • Codecov back up to 100%
  • Addressed one testthat issue that was causing the OSX CRAN build to fail
  • Added CRAN link to pkgdown site
  • Added Bug Report link to pkgdown site

heatwaveR 0.2.7 (2018-05-30) 2018-05-30

  • Accepted on CRAN

heatwaveR 0.2.7 (2018-05-28) 2018-05-30

  • Submitted to CRAN

heatwaveR (2018-05-25) Unreleased

  • Fixes to make_whole and testing
  • Fixes to block_average
  • No longer exporting make_whole and make_whole_fast
  • No longer uses zoo for time series NA handling–made custom function to replace it
  • Additional speed improvements
  • Repair testthat tests

heatwaveR (2018-05-24) Unreleased

  • Moved all vignettes relating to the upcoming MHW_detection paper to that repo
  • This helps to unclutter this repo as it should be primarily kept for package content

heatwaveR (2018-05-23) Unreleased

  • Added vignette that shows how tweaking arguments for detect changes the outputs between languages and how those outputs may differ
  • Changed output of detect_event to better match Python version
  • Corrections to testthat to match changes to detect_event output

heatwaveR (2018-05-22) Unreleased

  • Added C++ function, clim_calc_ccp() for faster climatology calculations; speed of climatology calculation comes down from 50.6 ms in R to 3.4 ms in C++ on my MacBook Pro (15-inch, 2017) 2.9 GHz Intel Core i7 16 GB RAM computer

heatwaveR (2018-05-21) Unreleased

heatwaveR (2018-05-17) Unreleased

  • Take advantage of C++ speed enhancement in smooth_percentile() by using RcppRoll
  • Update testthat accordingly

heatwaveR (2018-05-17) Unreleased

  • Basic R vs Python vignette finished

heatwaveR (2018-05-16) Unreleased

heatwaveR (2018-05-16) Unreleased

  • Major speed-up in the climatology creation function. clim_spread() now returns a matrix, not a data frame. This makes the loop in clim_calc() much faster. In testing with the sst_WA data, it leads to a 3.7 fold speed improvement (520 ms down to 140 ms).
  • Speed-up of make_whole() (60 ms down to 40 ms)

heatwaveR (2018-05-15) Unreleased

  • Removed all instances of detect() in favour of the new pipeline
  • Updated exceedance() to utilise the internal functions
  • Updated object names in block_average()

heatwaveR (2018-05-15) Unreleased

  • Micro edits to documentation
  • Testing for all exported and internal functions brought up to speed
  • Ensuring that new ts2clm() and detect_event() pipeline returns the same results as the old make_whole() and detect() pipeline

heatwaveR (2018-05-14) Unreleased

  • Phasing in identical names as in the python version
  • detect_event() now passing checks
  • Must still test for MCSs
  • The old detect() function was unpacked and simplified. Internal code is now in new functions, most of which will not be seen by the user. They are make_whole() proto_event(), clim_calc(), smooth_percentile(), clim_spread(), and ts2clm()
  • ts2clm() used instead of detect_clim()
  • Climatologies can now be calculated independently of the detect functionality
  • exceedance() function testthat checks updated to account for change in variable naming

heatwaveR (2018-05-11) Unreleased

  • detect() has now been broken into detect_clim() and detect_event()
  • These now also rely on internal functions
  • The purpose of this is to create a family of functions that provide different options
  • New vignette on making short climatologies.

heatwaveR (2018-05-10) Unreleased

  • One may now provide alternative baselines and climatologies to detect()

heatwaveR (2018-05-05) Unreleased

heatwaveR (2018-05-04) Unreleased

  • New category() function returns the category results for events
  • Still requires testing and improved event naming scheme

heatwaveR (2018-05-03) Unreleased

  • Minor touch up to examples in geoms.R
  • First draft of heatwaveR hex logo added to site
  • Added category option to event_line()
  • Simplifications and consistency checks to detect()
  • Some writing on Baselines and climatology vignette

heatwaveR (2018-05-02) Unreleased

  • Fix to event_line() not plotting MCSs correctly
  • Fix error with smooth_percentile and smooth_percentile_width descriptions that were interchanged in detect()
  • Simplify initial lines of leap year calculations (remove redundant code)
  • change from raster::quantile() to stats::quantile()

heatwaveR (2018-04-29) Unreleased

  • Add option to use a custom baseline to detect() as requested by Maxime Marin (), The University of Tasmania (IMAS) – CSIRO (O&A), and which is present in the python version of the package

heatwaveR (2018-04-28) Unreleased

  • Remove restriction to require full years for start/end points of climatology calculations in detect()
  • Documentation updated accordingly
  • Vignette on OISST data processing added

heatwaveR (2018-04-26) Unreleased

heatwaveR (2018-04-25) Unreleased

  • Established theme for changelog
  • Synced ganalytics
  • Fixed event_line() to acknowledge column names other than t and temp
  • Fixed lolli_plot() to use underlying geom_lolli()
  • Search bar now live
  • Removed all but one use of plyr code

heatwaveR (2018-04-24) Unreleased

  • Added a NEWS.md file to track changes to the package.
  • Cloned RmarineHeatWaves package to this repo
  • First build of pkgdown site live