Hydrology and Climate Forecasting

Focuses on data processing and visualization in hydrology and climate forecasting. Main function includes data extraction, data downscaling, data resampling, gap filler of precipitation, bias correction of forecasting data, flexible time series plot, and spatial map generation. It is a good pre- processing and post-processing tool for hydrological and hydraulic modellers.


Released version from CRAN, for beginners and normal users:

install.packages("hyfo")

Development version from github, for experienced users and those who are interested in investigating:

install.packages("devtools")
# You can ignore the line above, if you have already installed devtools
devtools::install_github("Yuanchao-Xu/hyfo")

Official Website is http://yuanchao-xu.github.io/hyfo

hyfo is an R package, initially designed for the European Project EUPORIAS, and cooperated with DHI Denmark, which was then extended to other uses in hydrology, hydraulics and climate.

This package mainly focuses on data process and visulization in hydrology and climate forecasting. Main function includes NetCDF file processing, data extraction, data downscaling, data resampling, gap filler of precipitation, bias correction of forecasting data, flexible time series plot, and spatial map generation. It is a good pre-processing and post-processing tool for hydrological and hydraulic modellers.

If you feel hyfo is of a little help, please cite it as following:

Xu, Yuanchao(2015). hyfo: Hydrology and Climate Forecasting R Package for Data Analysis and Visualization. Retrieved from http://yuanchao-xu.github.io/hyfo/

Author in this corner

News

hyfo 1.3.6

Date: 2015.12.15

  • transfer from ncdf to ncdf4
  • grepAndMatch created, for capturing dimension names.
  • minor bug fixed about the loadNcdf, when no dimension found, it will give an error indicating.
  • change most of the match function into grepAndMatch, in order to deal with different dimension names.
  • add name attributes to gridfile$xyCoords$x,y, when writeNcdf, the dim names will be taken from that attribute, which can be exactly the same with the original.
  • bug fixed for nc files without members.
  • for hyfo$Data part, when load and write using ncdf4, there will be very little differences compared to the original, which cannot be addressed. If you first load an ncdf file, then write it, then load it again. The data part may have very little difference, less than 10E-5.

hyfo 1.3.5

Date: 2015.12.6

  • travis check passed, change the rgdal version from 0.9-3 back to 0.8-16 due to the lack of packages on travis ubuntu.
  • changed .yml file to fix the problem with No repository set, so cyclic dependency check skipped.
  • on CRAN
  • fully supported for windows, Linux and OS.

hyfo 1.3.3

Date: 2015.11.27

  • Delete readData_folder, since it's only windows based, add information to get special version for windows users.
  • travis test added.

hyfo 1.3.2

Date: 2015.11.7

  • bug fixed about getPreciBar, signature('data.frame')
  • vignettes updated about bug and hided the warning information.
  • Add how to debug in the documentation for the generic functions.

hyfo 1.3.1

Date: 2015.11.3

  • new generic function biasCorrect, extractPeriod, resample, getAnnual, getPreciBar added. No need to designate input type any more, R will detect automatically.
  • coordinates conversion function extracted.
  • new user manual about real time bias correction and resample added.

hyfo 1.2.9

Date: 2015.10.30

  • new biasFactor S4 class added, to avoid set the input type every time.
  • operational bias correction has been changed to generic function.
  • news file added.

hyfo 1.2.8

Date: 2015.10.10

  • operational bias correction added, in normal function.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("hyfo")

1.3.9 by Yuanchao Xu, 9 days ago


https://yuanchao-xu.github.io/hyfo/


Report a bug at https://github.com/Yuanchao-Xu/hyfo/issues


Browse source code at https://github.com/cran/hyfo


Authors: Yuanchao Xu [aut, cre]


Documentation:   PDF Manual  


GPL-2 license


Imports ggplot2, reshape2, zoo, rgdal, plyr, moments, lmom, maps, maptools, rgeos, ncdf4, MASS, methods, data.table

Depends on stats, utils

Suggests gridExtra, knitr, rmarkdown


See at CRAN