Learn R Programming

htsr (version 2.1.6)

Hydro-Meteorology Time-Series

Description

Functions for the management and treatment of hydrology and meteorology time-series stored in a 'Sqlite' data base.

Copy Link

Version

Install

install.packages('htsr')

Monthly Downloads

278

Version

2.1.6

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Pierre Chevallier

Last Published

August 17th, 2024

Functions in htsr (2.1.6)

h_adjust

Adjust a time series to a statistical model
h_gaperr

Replace errors with gaps in a time-series based on neighboring values
ds_inventory_station

Inventory of the stations of an htsr data base
h_gapfill

Simple gapfilling in a time-series
f_month2day

Interpolation of daily records from a monthly time series
h_replace

Replace a value by another
ds_sensor

Create, Modify or Remove a sensor
p_clim

Plot climatologies in hydrological year
h_nodata

Replace values with NA conditionally or in a time interval
h_gaprem_itv

Remove gaps in a time-series with a time interval threshold
h_wl_di

Computation of the discharges from water-levels
h_weightedsum

Weighted sum of time-series
h_restrict

Restrict a series between 2 dates
f_convert

Convert an hts file in another format (xls, xlsx or csv) and vice-versa
hs_tstep

hts time series with fixed timestep
h_year

Annual time series
h_addna

Add NA values within a time series
f_properties

Properties of a hts series
ps_plothts

Plot hts files
h_changetz

Change the time zone of a time series
f_csv_multivar

Build a multivariable table file in csv format
u_index

Compute an index of community
h_condition

Conditional extraction of a time-series regarding another one
p_gaps

Plot of data inventory
p_hypso

Plot the hypsometry curve of one or more basins
h_common

Extract 2 (or more) time-series on their common period
p_discalib

Plot calibration curves water levels vs discharges
h_season

Seasonal selection
h_rollav

Rolling average of a daily time-series
h_substitute

Subtitute the missing values in a series by existing values of another series
h_stat_basic

Basic statistics of a time-series
p_wind

Plot wind roses
p_scatter

Scatter plot of 2 or more time-series
h_rainsnow

Share the solid and liquid precipitations with a temperature criteria
htsr-package

htsr: Hydro-Meteorology Time-Series
h_cumul

Cumul of time-series
h_rbind

Bind 2 time-series on consecutive periods
p_box_month

Boxplot of the 12 months of a time-series.
u_timestep

Compute values in a time-series with a fixed timestep
z_coord

Coordinate utility
w_atmp_alt

Compute atmospheric pressure, function of altitude
w_temp_alt

Compute temperature, function of altitude
w_spechum2relhum

Convert specific humidity to relative humidity
w_etp

Compute the potential evapotranspiration with several methods
d_convert_hubeau

Convert Hubeau station files into a htsr sqlite base
d_exp_discalib

Export discharge measurements and calibrations from data base
d_convert_weewx

Convert a weewx data base into a htsr sqlite base
d_convert_hydraccess

Convert a full Hydraccess database into a new htsr sqlite database (Windows only)
d_backup

Backup a data base
d_imp_hts

Import a hts file into a data base
f_change_id

Change Station id or Sensor id in a hts file
ds_station

Create, Modify or Remove a station
d_convert_meteofrance_d

Convert a Meteo-France csv daily basic data file into a htsr sqlite base
d_compact

Compact a data base
d_create

Create a data base
ds_exp_hts

Extraction of a time-series from htsr data base
ds_inventory_sensor

Inventory of a station sensors of an htsr data base
h_avday

Daily average over a sequence of several years
d_convert_meteofrance_h

Convert a Meteo-France csv hourly basic data file into a htsr sqlite base
d_rem_hts

Remove hts records from a data base
fc

Short-cut for file.choose
d_table

Create or remove a table of a htsr sqlite base