# Access to the 'RESOURCECODE' Hindcast Database

## Documentation for package ‘resourcecode’ version 0.2.1

- 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
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
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
plot_2d_specta | Plot a wave density 2D spectrum
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
zmcomp2metconv | Vector conversion