{
  "_id": "6a10421bacfb0bcc41c9da75",
  "Package": "hyfo",
  "Type": "Package",
  "Title": "Hydrology and Climate Forecasting",
  "Version": "1.4.6",
  "Date": "2023-8-15",
  "Authors@R": "person(\"Yuanchao\", \"Xu\", email = \"xuyuanchao37@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Focuses on data processing and visualization in hydrology\nand climate forecasting. Main function includes data\nextraction, data downscaling, data resampling, gap filler of\nprecipitation, bias correction of forecasting data, flexible\ntime series plot, and spatial map generation. It is a good pre-\nprocessing and post-processing tool for hydrological and\nhydraulic modellers.",
  "License": "GPL-2",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "URL": "https://yuanchao-xu.github.io/hyfo/",
  "BugReports": "https://github.com/Yuanchao-Xu/hyfo/issues",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libnetcdf-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://yuanchao-xu.r-universe.dev",
  "Date/Publication": "2025-03-09 17:53:47 UTC",
  "RemoteUrl": "https://github.com/yuanchao-xu/hyfo",
  "RemoteRef": "HEAD",
  "RemoteSha": "728b50facbac6009d3d25de958d1f977e6432471",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 07:29:18 UTC",
    "User": "root"
  },
  "Author": "Yuanchao Xu [aut, cre]",
  "Maintainer": "Yuanchao Xu <xuyuanchao37@gmail.com>",
  "MD5sum": "ef361dce6d373406cfae759fa6b3061c",
  "_user": "yuanchao-xu",
  "_type": "src",
  "_file": "hyfo_1.4.6.tar.gz",
  "_fileid": "bb5e04012e4475f0518677f387d5091bda291a7f658b51695ea22e17cf874326",
  "_filesize": 530656,
  "_sha256": "bb5e04012e4475f0518677f387d5091bda291a7f658b51695ea22e17cf874326",
  "_created": "2026-05-11T07:29:18.000Z",
  "_published": "2026-05-22T11:46:35.207Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77373104314,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6912678538"
    },
    {
      "job": 77373104459,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6912679458"
    },
    {
      "job": 77373104411,
      "time": 216,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6912682309"
    },
    {
      "job": 77373103997,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6912663910"
    },
    {
      "job": 77373103802,
      "time": 232,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912621869"
    },
    {
      "job": 77373103822,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159714775"
    },
    {
      "job": 77373104048,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6912665417"
    },
    {
      "job": 77373104251,
      "time": 124,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6912662829"
    },
    {
      "job": 77373104438,
      "time": 145,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6912670605"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yuanchao-xu/hyfo",
  "_commit": {
    "id": "728b50facbac6009d3d25de958d1f977e6432471",
    "author": "Yuanchao Xu <xuyuanchao37@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1741542827
  },
  "_maintainer": {
    "name": "Yuanchao Xu",
    "email": "xuyuanchao37@gmail.com",
    "login": "yuanchao-xu",
    "uuid": 12883455
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "version": ">= 3.1.3",
      "role": "Depends"
    },
    {
      "package": "utils",
      "version": ">= 3.1.3",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "version": ">= 1.4.1",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "version": ">= 1.7-12",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-12",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "version": ">= 1.8.3",
      "role": "Imports"
    },
    {
      "package": "moments",
      "version": ">= 0.14",
      "role": "Imports"
    },
    {
      "package": "lmom",
      "version": ">= 2.5",
      "role": "Imports"
    },
    {
      "package": "maps",
      "version": ">= 2.3-9",
      "role": "Imports"
    },
    {
      "package": "sp",
      "version": ">= 2.0-0",
      "role": "Imports"
    },
    {
      "package": "ncdf4",
      "version": ">= 1.14.1",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "version": ">= 7.3-39",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "yuanchao-xu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "climate",
    "climate-forecasting",
    "forecasting-models",
    "hydrology",
    "maps",
    "netcdf4"
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "yuanchao-xu",
      "count": 202,
      "uuid": 12883455
    }
  ],
  "_userbio": {
    "uuid": 12883455,
    "type": "user",
    "name": "Yuanchao Xu"
  },
  "_downloads": {
    "count": 288,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hyfo"
  },
  "_devurl": "https://github.com/yuanchao-xu/hyfo",
  "_searchresults": 51,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hyfo.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yuanchao-xu/hyfo",
  "_realowner": "yuanchao-xu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.3.4",
      "date": "2015-12-05"
    },
    {
      "version": "1.3.6",
      "date": "2016-01-13"
    },
    {
      "version": "1.3.9",
      "date": "2017-03-19"
    },
    {
      "version": "1.4.0",
      "date": "2018-09-27"
    },
    {
      "version": "1.4.2",
      "date": "2020-04-04"
    },
    {
      "version": "1.4.3",
      "date": "2020-08-28"
    },
    {
      "version": "1.4.5",
      "date": "2023-08-12"
    },
    {
      "version": "1.4.6",
      "date": "2023-08-16"
    }
  ],
  "_exports": [
    "applyBiasFactor",
    "biasCorrect",
    "checkBind",
    "collectData",
    "collectData_csv_anarbe",
    "collectData_excel_anarbe",
    "collectData_txt_anarbe",
    "downscaleNcdf",
    "extractPeriod",
    "fillGap",
    "getAnnual",
    "getBiasFactor",
    "getEnsem_comb",
    "getFrcEnsem",
    "getHisEnsem",
    "getLMom",
    "getMoment",
    "getNcdfVar",
    "getPreciBar",
    "getPreciBar_comb",
    "getSpatialMap",
    "getSpatialMap_comb",
    "getSpatialMap_mat",
    "list2Dataframe",
    "loadNcdf",
    "plotTS",
    "plotTS_comb",
    "resample",
    "shp2cat",
    "writeNcdf"
  ],
  "_datasets": [
    {
      "name": "testCat",
      "title": "testCat",
      "object": "testCat",
      "class": [
        "SpatialPolygonsDataFrame"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "testdl",
      "title": "testdl",
      "object": "testdl",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "tgridData",
      "title": "tgridData",
      "object": "tgridData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "applyBiasFactor",
      "title": "Apply bias factor to different forecasts for multi/operational/real time bias correction.",
      "topics": [
        "applyBiasFactor",
        "applyBiasFactor,data.frame,biasFactor-method",
        "applyBiasFactor,list,biasFactor.hyfo-method"
      ]
    },
    {
      "page": "biasCorrect",
      "title": "Biascorrect the input timeseries or hyfo dataset",
      "topics": [
        "biasCorrect",
        "biasCorrect,data.frame,data.frame,data.frame-method",
        "biasCorrect,list,list,list-method"
      ]
    },
    {
      "page": "biasFactor-class",
      "title": "An S4 class, representing the biasFactor of single time series biasCorrection.",
      "topics": [
        "biasFactor-class"
      ]
    },
    {
      "page": "biasFactor.hyfo-class",
      "title": "An S4 class, representing the biasFactor of hyfo file.",
      "topics": [
        "biasFactor.hyfo-class"
      ]
    },
    {
      "page": "checkBind",
      "title": "Check data for bind function.",
      "topics": [
        "checkBind"
      ]
    },
    {
      "page": "collectData",
      "title": "Collect data from different csv files.",
      "topics": [
        "collectData"
      ]
    },
    {
      "page": "collectData_csv_anarbe",
      "title": "Collect data from csv for Anarbe case.",
      "topics": [
        "collectData_csv_anarbe"
      ]
    },
    {
      "page": "collectData_excel_anarbe",
      "title": "Collect data from different excel files",
      "topics": [
        "collectData_excel_anarbe"
      ]
    },
    {
      "page": "collectData_txt_anarbe",
      "title": "collect data from different txt.",
      "topics": [
        "collectData_txt_anarbe"
      ]
    },
    {
      "page": "coord2cell",
      "title": "Change lon lat coordinates to cell coordinates",
      "topics": [
        "coord2cell"
      ]
    },
    {
      "page": "downscaleNcdf",
      "title": "Downscale NetCDF file",
      "topics": [
        "downscaleNcdf"
      ]
    },
    {
      "page": "extractPeriod",
      "title": "Extract period from list or dataframe.",
      "topics": [
        "extractPeriod",
        "extractPeriod,data.frame-method",
        "extractPeriod,list-method"
      ]
    },
    {
      "page": "fillGap",
      "title": "Fill gaps in the rainfall time series.",
      "topics": [
        "fillGap"
      ]
    },
    {
      "page": "getAnnual",
      "title": "Get annual rainfall of different rainfall time series",
      "topics": [
        "getAnnual",
        "getAnnual,data.frame-method",
        "getAnnual,list-method"
      ]
    },
    {
      "page": "getAnnual_dataframe",
      "title": "Get annual rainfall of the input time series.",
      "topics": [
        "getAnnual_dataframe"
      ]
    },
    {
      "page": "getBiasFactor",
      "title": "Get bias factor for multi/operational/real time bias correction.",
      "topics": [
        "getBiasFactor",
        "getBiasFactor,data.frame,data.frame-method",
        "getBiasFactor,list,list-method"
      ]
    },
    {
      "page": "getEnsem_comb",
      "title": "Combine ensembles together",
      "topics": [
        "getEnsem_comb"
      ]
    },
    {
      "page": "getFrcEnsem",
      "title": "Extract time series from forecasting data.",
      "topics": [
        "getFrcEnsem"
      ]
    },
    {
      "page": "getHisEnsem",
      "title": "Get ensemble forecast from historical data.",
      "topics": [
        "getHisEnsem"
      ]
    },
    {
      "page": "getLMom",
      "title": "get L moment analysis of the input distribution",
      "topics": [
        "getLMom"
      ]
    },
    {
      "page": "getMeanPreci",
      "title": "Get mean rainfall data.",
      "topics": [
        "getMeanPreci"
      ]
    },
    {
      "page": "getMoment",
      "title": "get moment analysis of the input distribution",
      "topics": [
        "getMoment"
      ]
    },
    {
      "page": "getNcdfVar",
      "title": "Get variable name of the NetCDF file.",
      "topics": [
        "getNcdfVar"
      ]
    },
    {
      "page": "getPreciBar",
      "title": "get mean rainfall bar plot of the input dataset or time series.",
      "topics": [
        "getPreciBar",
        "getPreciBar,data.frame-method",
        "getPreciBar,list-method"
      ]
    },
    {
      "page": "getPreciBar_comb",
      "title": "Combine bars together",
      "topics": [
        "getPreciBar_comb"
      ]
    },
    {
      "page": "getSpatialMap",
      "title": "Get spatial map of the input dataset.",
      "topics": [
        "getSpatialMap"
      ]
    },
    {
      "page": "getSpatialMap_comb",
      "title": "Combine maps together",
      "topics": [
        "getSpatialMap_comb"
      ]
    },
    {
      "page": "getSpatialMap_mat",
      "title": "Replot raster matrix",
      "topics": [
        "getSpatialMap_mat"
      ]
    },
    {
      "page": "list2Dataframe",
      "title": "Convert a list to a dataframe.",
      "topics": [
        "list2Dataframe"
      ]
    },
    {
      "page": "loadNcdf",
      "title": "Load NetCDF file",
      "topics": [
        "loadNcdf"
      ]
    },
    {
      "page": "monthlyPreci",
      "title": "Get monthly rainfall",
      "topics": [
        "monthlyPreci"
      ]
    },
    {
      "page": "plotTS",
      "title": "plot time series, with marks on missing value.",
      "topics": [
        "plotTS"
      ]
    },
    {
      "page": "plotTS_comb",
      "title": "Combine time seires plot together",
      "topics": [
        "plotTS_comb"
      ]
    },
    {
      "page": "resample",
      "title": "Resample your time series or ncdf files.",
      "topics": [
        "resample",
        "resample,data.frame-method",
        "resample,list-method"
      ]
    },
    {
      "page": "shp2cat",
      "title": "Get a catchment object from selected shape file.",
      "topics": [
        "shp2cat"
      ]
    },
    {
      "page": "testCat",
      "title": "testCat",
      "topics": [
        "testCat"
      ]
    },
    {
      "page": "testdl",
      "title": "testdl",
      "topics": [
        "testdl"
      ]
    },
    {
      "page": "tgridData",
      "title": "tgridData",
      "topics": [
        "tgridData"
      ]
    },
    {
      "page": "writeNcdf",
      "title": "Write to NetCDF file using hyfo list file",
      "topics": [
        "writeNcdf"
      ]
    }
  ],
  "_readme": "https://github.com/yuanchao-xu/hyfo/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "data.table",
    "DBI",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lmom",
    "magrittr",
    "maps",
    "MASS",
    "moments",
    "ncdf4",
    "plyr",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "sp",
    "stringi",
    "stringr",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "hyfo.Rmd",
      "filename": "hyfo.html",
      "title": "hyfo Easy Start",
      "author": "Yuanchao Xu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "TIPS"
      ],
      "created": "2015-06-25 19:02:19",
      "modified": "2020-08-28 09:15:05",
      "commits": 44
    }
  ],
  "_score": 5.6106601630898805,
  "_indexed": true,
  "_nocasepkg": "hyfo",
  "_universes": [
    "yuanchao-xu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.6",
      "date": "2026-05-11T07:31:35.000Z",
      "distro": "noble",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "ca07258356683822f740c2507a3e7ef329301ba001be44090bb23ea21d9e5138",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.6",
      "date": "2026-05-11T07:31:40.000Z",
      "distro": "noble",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "76e197c6824e0b7b61c3a5f4b3c40e4eade29b17d8c5448e66c3e90adcfede9a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.6",
      "date": "2026-05-11T07:32:01.000Z",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "e52b6aa38ae004980d10db188109c8a8b4d57ccc0f50b44c933dfbc2494d3583",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.6",
      "date": "2026-05-11T07:31:14.000Z",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "edc0ba665ba3594835f9d7987b3ed80cf373dc03eaf49e4bb643a23ce9a7dc37",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.6",
      "date": "2026-05-11T07:30:48.000Z",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "5e0fa74d6bebb4f135dfcd2362f9ee2fcfa594a78c043787cf0bbb23b50192a5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.6",
      "date": "2026-05-11T07:30:38.000Z",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "f50edf523384e9bd6c7807de1ddc523a79d261fd6f22db4b41ebd3b45b168c1d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.6",
      "date": "2026-05-11T07:31:00.000Z",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "283a805139404a74af3c4dd1e945803a65d482b6aaa9ef85efd70da3843a0ede",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.6",
      "date": "2026-05-22T11:46:14.000Z",
      "commit": "728b50facbac6009d3d25de958d1f977e6432471",
      "fileid": "02245b8004f6b311dbc82d5efa8af0ae1be2611f74265be162928580eac52d5c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yuanchao-xu/actions/runs/25656287851"
    }
  ]
}