Package: hyfo 1.4.6

hyfo: 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.

Authors:Yuanchao Xu [aut, cre]

hyfo_1.4.6.tar.gz
hyfo_1.4.6.zip(r-4.5)hyfo_1.4.6.zip(r-4.4)hyfo_1.4.6.zip(r-4.3)
hyfo_1.4.6.tgz(r-4.4-any)hyfo_1.4.6.tgz(r-4.3-any)
hyfo_1.4.6.tar.gz(r-4.5-noble)hyfo_1.4.6.tar.gz(r-4.4-noble)
hyfo_1.4.6.tgz(r-4.4-emscripten)hyfo_1.4.6.tgz(r-4.3-emscripten)
hyfo.pdf |hyfo.html
hyfo/json (API)
NEWS

# Install 'hyfo' in R:
install.packages('hyfo', repos = c('https://yuanchao-xu.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/yuanchao-xu/hyfo/issues

Datasets:

On CRAN:

climateclimate-forecastingforecasting-modelshydrologymapsnetcdf4

5.55 score 15 stars 47 scripts 367 downloads 30 exports 50 dependencies

Last updated 1 years agofrom:1895ea5dd0. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winNOTENov 02 2024
R-4.5-linuxNOTENov 02 2024
R-4.4-winNOTENov 02 2024
R-4.4-macNOTENov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:applyBiasFactorbiasCorrectcheckBindcollectDatacollectData_csv_anarbecollectData_excel_anarbecollectData_txt_anarbedownscaleNcdfextractPeriodfillGapgetAnnualgetBiasFactorgetEnsem_combgetFrcEnsemgetHisEnsemgetLMomgetMomentgetNcdfVargetPreciBargetPreciBar_combgetSpatialMapgetSpatialMap_combgetSpatialMap_matlist2DataframeloadNcdfplotTSplotTS_combresampleshp2catwriteNcdf

Dependencies:classclassIntclicolorspacedata.tableDBIe1071fansifarverggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclelmommagrittrmapsMASSMatrixmgcvmomentsmunsellncdf4nlmepillarpkgconfigplyrproxyR6RColorBrewerRcppreshape2rlangs2scalessfspstringistringrtibbleunitsutf8vctrsviridisLitewithrwkzoo

hyfo Easy Start

Rendered fromhyfo.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2020-08-28
Started: 2015-06-25

Readme and manuals

Help Manual

Help pageTopics
Apply bias factor to different forecasts for multi/operational/real time bias correction.applyBiasFactor applyBiasFactor,data.frame,biasFactor-method applyBiasFactor,list,biasFactor.hyfo-method
Biascorrect the input timeseries or hyfo datasetbiasCorrect biasCorrect,data.frame,data.frame,data.frame-method biasCorrect,list,list,list-method
An S4 class, representing the biasFactor of single time series biasCorrection.biasFactor-class
An S4 class, representing the biasFactor of hyfo file.biasFactor.hyfo-class
Check data for bind function.checkBind
Collect data from different csv files.collectData
Collect data from csv for Anarbe case.collectData_csv_anarbe
Collect data from different excel filescollectData_excel_anarbe
collect data from different txt.collectData_txt_anarbe
Change lon lat coordinates to cell coordinatescoord2cell
Downscale NetCDF filedownscaleNcdf
Extract period from list or dataframe.extractPeriod extractPeriod,data.frame-method extractPeriod,list-method
Fill gaps in the rainfall time series.fillGap
Get annual rainfall of different rainfall time seriesgetAnnual getAnnual,data.frame-method getAnnual,list-method
Get annual rainfall of the input time series.getAnnual_dataframe
Get bias factor for multi/operational/real time bias correction.getBiasFactor getBiasFactor,data.frame,data.frame-method getBiasFactor,list,list-method
Combine ensembles togethergetEnsem_comb
Extract time series from forecasting data.getFrcEnsem
Get ensemble forecast from historical data.getHisEnsem
get L moment analysis of the input distributiongetLMom
Get mean rainfall data.getMeanPreci
get moment analysis of the input distributiongetMoment
Get variable name of the NetCDF file.getNcdfVar
get mean rainfall bar plot of the input dataset or time series.getPreciBar getPreciBar,data.frame-method getPreciBar,list-method
Combine bars togethergetPreciBar_comb
Get spatial map of the input dataset.getSpatialMap
Combine maps togethergetSpatialMap_comb
Replot raster matrixgetSpatialMap_mat
Convert a list to a dataframe.list2Dataframe
Load NetCDF fileloadNcdf
Get monthly rainfallmonthlyPreci
plot time series, with marks on missing value.plotTS
Combine time seires plot togetherplotTS_comb
Resample your time series or ncdf files.resample resample,data.frame-method resample,list-method
Get a catchment object from selected shape file.shp2cat
testCattestCat
testdltestdl
tgridDatatgridData
Write to NetCDF file using hyfo list filewriteNcdf