Skip to content

Latest commit

 

History

History
71 lines (52 loc) · 2.72 KB

File metadata and controls

71 lines (52 loc) · 2.72 KB

resourcecode (development version)

resourcecode 0.5.3

  • Custom labels are now handled properly in cut_seasons() ;
  • Switch to {httr2} to download files and API request ;
  • Skip plots when the remote database is not available.

resourcecode 0.5.2

  • Give informative message when remote database is not available.

resourcecode 0.5.1

  • Remove dependency on {latex2exp} that is scheduled for archival on 2026-01-03

resourcecode 0.5.0

  • Update the data retrieving function to fail gracefully whenever the remote database is not accessible.
  • New function 'weather_windows()' to compute weather windows of a given duration.
  • Update the ending date of the Hindcast to 2024-12-31.

resourcecode 0.4.0

  • New example data: rscd_data_example with an extract of some variables at a given node. See ?rscd_data_example for details.
  • New helper: fractional_day_of_year() to compute the fractional time since the beginning of a year.
  • New function plot_1d_specta() to plot 1D spectral data, with sea-states parameters.
  • New function metconv2zmcomp() to compute the u/v components. from meteorological wind speed and direction.
  • Adds {resourcecodedata} package as dependence, to ease the use of the package .
  • closest_point_field() and closest_point_field() now accept a list of locations instead of a single one (#3).

resourcecode 0.3.0

  • rscd_mapplot(): add Resourcecode caption.
  • New helpers:
    • mean_direction() to compute (weighted) mean values of directional variables,
    • cut_directions() to bin a vector of directions into sectors, centered North;
    • cut_seasons() to compute the season from a datetime, with different definitions.
  • Fixed #7 (thanks @paalves).

resourcecode 0.2.1

  • Move out the data from the package to {resourcecodedata} package to be compliant with CRAN limiting size of 5Mb.

resourcecode 0.1.0

  • Add some code linter;
  • Switch from ftpto https to download the spectral data, to increase stability;
  • Fix typos in the documentation (thanks to @jlegrand35);
  • zmcomp2metconv outputs a data.frame and gains an argument to name columns;
  • Fixed deprecated arguments in ggplot::theme() used in rscd_mapplot;
  • renamecompute_orbital_speeds to compute_orbital_speeds;
  • remove dependency to {arrow};
  • make data smaller by using tools::resaveRdaFiles("data/").

resourcecode 0.0.1

Initial version with very crude functionalities

  • Database configuration: coastline, depth, output variables, grids...
  • Download sea-state parameters of the FIELD grid from Casandra database;
  • Download 1D and 2D spectral data from the netCDF files via FTP;
  • Helpers to plot maps (e.g. bathymetry or spatial statistics);
  • Plot 1D and 2 spectrum;
  • Compute sea-state from 1D and 2D spectrum.