# Access to the 'RESOURCECODE' Hindcast Database

## Documentation for package ‘resourcecode’ version 0.5.3

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

%nin% | Value Matching
closest_point_field | Find the closest point of the FIELD grid to the specified position
closest_point_spec | Find the closest point of the SPEC grid to the specified position
compute_orbital_speeds | Compute the orbital speed at a given depth from the wave elevation 1D spectra
compute_sea_state_1d_spectrum | Compute sea_state parameter from wave spectrum
compute_sea_state_2d_spectrum | Compute sea_state parameter from wave directional spectrum
convert_spectrum_2d1d | Converts a 2D spectrum time series to a 1D spectrum
cut_directions | Directional binning
cut_seasons | Get season from date time object
dispersion | Compute the dispersion relation of waves Find _k_ s.t. (2.pi.f)^2 = g.k.tanh(k.d)
fastTrapz | Fast implementation of pracma::trapz from the Armadillo C++ library
fractional_day_of_year | Compute Fractional Day of Year from POSIXct
get_1d_spectrum | Download the 1D spectrum data from IFREMER ftp
get_2d_spectrum | Download the 2D spectrum data from IFREMER ftp
get_parameters | Download time series of sea-state parameters from RESOURCECODE database
jonswap | JONWSAP spectrum
mean_direction | Mean Direction
metconv2zmcomp | Convert meteorological wind speed and direction to u/v components
plot_1d_specta | Plot a wave density 1D spectrum at a given time
plot_2d_specta | Plot a wave density 2D spectrum
rscd_data_example | Resourcecode data extract
rscd_dir | Resourcecode directional bins
rscd_freq | Resourcecode frequency vector of 1D and 2D spectra
rscd_mapplot | Create a map of the provided variable on the RESOURCECODE field grid
weather_windows | Compute Weather Windows
zmcomp2metconv | Convert u/v to meteorological wind speed and direction