{
  "_id": "6a101f92acfb0bcc41c8b45c",
  "Package": "AHGestimation",
  "Title": "An R package for Computing Robust, Mass Preserving Hydraulic\nGeometries and Rating Curves",
  "Description": "Compute mass preserving 'At a station Hydraulic Geometry'\n(AHG) fits from river measurements.",
  "Version": "0.3.1",
  "Authors@R": "c(person(given = \"Mike\",\nfamily = \"Johnson\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mike.johnson@noaa.gov\",\ncomment = c(ORCID = \"0000-0002-5288-8350\")),\nperson(given = \"Arash\",\nfamily = \"Modaresi Rad\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0002-6030-7923\")),\nperson(given = \"NOAA OWP\",  role = \"fnd\"),\nperson(given = \"NSF\",  role = \"fnd\"))",
  "Maintainer": "Mike Johnson <mike.johnson@noaa.gov>",
  "BugReports": "https://github.com/mikejohnson51/AHGestimation/issues",
  "URL": "https://github.com/mikejohnson51/AHGestimation",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libuv1-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev libx11-dev zlib1g-dev",
  "Repository": "https://mikejohnson51.r-universe.dev",
  "Date/Publication": "2025-04-10 19:05:31 UTC",
  "RemoteUrl": "https://github.com/mikejohnson51/AHGestimation",
  "RemoteRef": "HEAD",
  "RemoteSha": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 06:42:06 UTC",
    "User": "root"
  },
  "Author": "Mike Johnson [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5288-8350>),\nArash Modaresi Rad [ctb] (ORCID:\n<https://orcid.org/0000-0002-6030-7923>),\nNOAA OWP [fnd],\nNSF [fnd]",
  "MD5sum": "b7d2d5e3186c526f6f4fb821d819656d",
  "_user": "mikejohnson51",
  "_type": "src",
  "_file": "AHGestimation_0.3.1.tar.gz",
  "_fileid": "6b961e91248178bb1682b1d5bfdabcbfc77709e1c3801176c61bf67b521ccb3c",
  "_filesize": 4347159,
  "_sha256": "6b961e91248178bb1682b1d5bfdabcbfc77709e1c3801176c61bf67b521ccb3c",
  "_created": "2026-05-14T06:42:06.000Z",
  "_published": "2026-05-22T09:19:14.328Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77351272449,
      "time": 204,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6988851506"
    },
    {
      "job": 77351272659,
      "time": 210,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6988854220"
    },
    {
      "job": 77351272900,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6988843838"
    },
    {
      "job": 77351272606,
      "time": 189,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6988842894"
    },
    {
      "job": 77351272035,
      "time": 561,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6988806719"
    },
    {
      "job": 77351272116,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157093745"
    },
    {
      "job": 77351272723,
      "time": 167,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6988843415"
    },
    {
      "job": 77351273023,
      "time": 144,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6988838082"
    },
    {
      "job": 77351272831,
      "time": 154,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6988840364"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mikejohnson51/AHGestimation",
  "_commit": {
    "id": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
    "author": "Mike Johnson <jjohnson@lynker.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #13 from arashmodrad/master\n\nupdated cross_section function to account for rectangular shapes and …",
    "time": 1744311931
  },
  "_maintainer": {
    "name": "Mike Johnson",
    "email": "mike.johnson@noaa.gov",
    "login": "mikejohnson51",
    "linkedin": "in/mikejohnson-phd",
    "orcid": "0000-0002-5288-8350",
    "uuid": 30052272
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "DescTools",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "geodist",
      "role": "Imports"
    },
    {
      "package": "mco",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "distill",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "scatterplot3d",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggrepel",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "mikejohnson51",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "mikejohnson51",
      "count": 72,
      "uuid": 30052272
    },
    {
      "user": "arashmodrad",
      "count": 5,
      "uuid": 55070201
    }
  ],
  "_userbio": {
    "uuid": 30052272,
    "type": "user",
    "name": "Mike Johnson",
    "description": "Geography | Data Science | Water Resources "
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AHGestimation"
  },
  "_devurl": "https://github.com/mikejohnson51/ahgestimation",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AHGestimation.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "ahg_estimate",
    "best_optimal",
    "calc_nsga",
    "compute_ahg",
    "compute_channel_slope",
    "compute_hydraulic_params",
    "compute_n",
    "cross_section",
    "date_filter",
    "extract_thalweg",
    "mad_filter",
    "min_max",
    "mismash",
    "nls_filter",
    "nrmse",
    "pbias",
    "qva_filter",
    "significance_check",
    "slope_matrix",
    "slope_mean",
    "slope_weighted"
  ],
  "_datasets": [
    {
      "name": "nwis",
      "title": "Sample gage data Manual measurements made at NWIS site 01096500 Q_cms is a mandatory argument and at least one of TW_m, V_ms, or Y_m.",
      "object": "nwis",
      "class": [
        "data.frame"
      ],
      "fields": [
        "siteID",
        "date",
        "Q_cms",
        "Y_m",
        "V_ms",
        "TW_m"
      ],
      "rows": 275,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ahg_estimate",
      "title": "Properly estimate AHG values",
      "concept": [
        "AHG"
      ],
      "topics": [
        "ahg_estimate"
      ]
    },
    {
      "page": "best_optimal",
      "title": "Report best optimal",
      "concept": [
        "AHG"
      ],
      "topics": [
        "best_optimal"
      ]
    },
    {
      "page": "calc_nsga",
      "title": "Calculate NSGA2 AHG",
      "concept": [
        "AHG"
      ],
      "topics": [
        "calc_nsga"
      ]
    },
    {
      "page": "compute_ahg",
      "title": "Approximate AHG relationships",
      "concept": [
        "AHG"
      ],
      "topics": [
        "compute_ahg"
      ]
    },
    {
      "page": "compute_channel_slope",
      "title": "Calculate the slope of 3D linestring",
      "concept": [
        "hydraulics"
      ],
      "topics": [
        "compute_channel_slope"
      ]
    },
    {
      "page": "compute_hydraulic_params",
      "title": "Approximate channel coeffiecent",
      "concept": [
        "hydraulics"
      ],
      "topics": [
        "compute_hydraulic_params"
      ]
    },
    {
      "page": "compute_n",
      "title": "Approximate Roughness",
      "concept": [
        "hydraulics"
      ],
      "topics": [
        "compute_n"
      ]
    },
    {
      "page": "cross_section",
      "title": "Approximate channel shape",
      "concept": [
        "hydraulics"
      ],
      "topics": [
        "cross_section"
      ]
    },
    {
      "page": "date_filter",
      "title": "Implements filtering by date",
      "concept": [
        "filters"
      ],
      "topics": [
        "date_filter"
      ]
    },
    {
      "page": "extract_thalweg",
      "title": "Extract Thalweg From a data.frame of cross sections, a classified thalweg can be extracted as the connected LINESTRING",
      "concept": [
        "hydraulics"
      ],
      "topics": [
        "extract_thalweg"
      ]
    },
    {
      "page": "mad_filter",
      "title": "Implements filtering by median absolute deviation",
      "concept": [
        "filters"
      ],
      "topics": [
        "mad_filter"
      ]
    },
    {
      "page": "min_max",
      "title": "Find thresholds for coefficient and exponent limits.",
      "concept": [
        "AHG"
      ],
      "topics": [
        "min_max"
      ]
    },
    {
      "page": "mismash",
      "title": "Compute all combos!",
      "concept": [
        "AHG"
      ],
      "topics": [
        "mismash"
      ]
    },
    {
      "page": "nls_filter",
      "title": "Implements NLS filtering",
      "concept": [
        "filters"
      ],
      "topics": [
        "nls_filter"
      ]
    },
    {
      "page": "nrmse",
      "title": "Normalized Root Mean Square Error",
      "concept": [
        "evaluation"
      ],
      "topics": [
        "nrmse"
      ]
    },
    {
      "page": "nwis",
      "title": "Sample gage data Manual measurements made at NWIS site 01096500 Q_cms is a mandatory argument and at least one of TW_m, V_ms, or Y_m.",
      "concept": [
        "data"
      ],
      "topics": [
        "nwis"
      ]
    },
    {
      "page": "pbias",
      "title": "Percent Bias",
      "concept": [
        "evaluation"
      ],
      "topics": [
        "pbias"
      ]
    },
    {
      "page": "qva_filter",
      "title": "Implements filtering by continuity",
      "concept": [
        "filters"
      ],
      "topics": [
        "qva_filter"
      ]
    },
    {
      "page": "significance_check",
      "title": "Implements significance check",
      "concept": [
        "filters"
      ],
      "topics": [
        "significance_check"
      ]
    },
    {
      "page": "slope_matrix",
      "title": "Calculate the gradient of line segments from a 3D matrix of coordinates",
      "concept": [
        "hydraulics"
      ],
      "topics": [
        "slope_matrix",
        "slope_mean",
        "slope_weighted"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mikejohnson51/AHGestimation/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mikejohnson51/AHGestimation/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "boot",
    "cellranger",
    "class",
    "classInt",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "DescTools",
    "dplyr",
    "e1071",
    "Exact",
    "expm",
    "forcats",
    "fs",
    "generics",
    "geodist",
    "gld",
    "glue",
    "haven",
    "hms",
    "httr",
    "jsonlite",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "lmom",
    "magrittr",
    "MASS",
    "Matrix",
    "mco",
    "mime",
    "mvtnorm",
    "openssl",
    "pbapply",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "Rcpp",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "rootSolve",
    "rstudioapi",
    "s2",
    "sf",
    "sys",
    "tibble",
    "tidyselect",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "improved-ahg.Rmd",
      "filename": "improved-ahg.html",
      "title": "Improving AHG Estimates",
      "author": "Mike Johnson",
      "engine": "knitr::knitr",
      "headings": [
        "Increasing AHG skill:",
        "Curve Fitting Approaches",
        "OLS",
        "NLS",
        "NSGA-II",
        "Combination Approach",
        "Packaged Functionality"
      ],
      "created": "2023-09-14 05:33:03",
      "modified": "2024-02-07 18:37:15",
      "commits": 7
    },
    {
      "source": "data-filtering.Rmd",
      "filename": "data-filtering.html",
      "title": "Data Preprocessing",
      "author": "Mike Johnson",
      "engine": "knitr::knitr",
      "headings": [
        "Data Filtering Functions",
        "1. Median Absolute Deviation (mad)",
        "2. Temporal",
        "3. Q = vA Assumption",
        "4. NLS prediciton",
        "Chaining Commands",
        "Example(s)",
        "Significance"
      ],
      "created": "2023-09-14 05:33:03",
      "modified": "2024-01-17 04:33:19",
      "commits": 7
    },
    {
      "source": "hydraulics.Rmd",
      "filename": "hydraulics.html",
      "title": "Hydraulic Data Generation",
      "author": "Mike Johnson, Arash Modaresi Rad",
      "engine": "knitr::knitr",
      "headings": [
        "Hydraulic Estimation",
        "Example data",
        "Compute Roughness",
        "Compute r, d, R and p",
        "r",
        "p, q, k",
        "d, R",
        "Implications",
        "Generate Cross sections"
      ],
      "created": "2023-09-14 05:33:03",
      "modified": "2024-02-07 19:03:27",
      "commits": 8
    },
    {
      "source": "optimize-nsga2.Rmd",
      "filename": "optimize-nsga2.html",
      "title": "Fine Tuning NSGA-2",
      "author": "Mike Johnson",
      "engine": "knitr::knitr",
      "headings": [
        "Solver",
        "Defining bounds",
        "Parameterizing the model",
        "Population & Generation",
        "Cross over and Mutation Probability",
        "Winner",
        "Influence of Seed",
        "Flexibility"
      ],
      "created": "2023-09-14 05:33:03",
      "modified": "2024-01-17 00:14:14",
      "commits": 7
    },
    {
      "source": "traditonal-ahg.Rmd",
      "filename": "traditonal-ahg.html",
      "title": "Traditional AHG fitting",
      "author": "Mike Johnson",
      "engine": "knitr::knitr",
      "headings": [
        "The AHG relationships",
        "Traditonal Fitting Technique",
        "Example:",
        "Full Fits",
        "Continuity check",
        "System Error"
      ],
      "created": "2023-09-14 05:33:03",
      "modified": "2024-12-05 22:39:21",
      "commits": 9
    }
  ],
  "_score": 4.243038048686294,
  "_indexed": true,
  "_nocasepkg": "ahgestimation",
  "_universes": [
    "mikejohnson51"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-14T06:50:18.000Z",
      "distro": "noble",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "4cd6fdaf1eed186de8a6cef5d986d4a62490d7057149a0cd53b24a9d35fda12c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-14T06:50:30.000Z",
      "distro": "noble",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "d18fc76f265a77747f80b6321a489ce4927a3f33bfe6d5cdd9a1403699fcd023",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-14T06:50:03.000Z",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "682778c0486ef98fcc7753ea01f3cc44a34a036c9338c6ac4bb23c1a46c05a04",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-14T06:49:55.000Z",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "320adcabb6012550e9c83de2b15ca67ddc4789264a0673822fbb8b3efec393f2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-14T06:49:20.000Z",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "30e5d2e3a1561d1fac1b4cb0787e8e676de4770af1da593856733fc5bf0155d2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-14T06:49:14.000Z",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "f128bf9006f0e7214dcc4b9d54a5eebff5a7a59c9612daba29bc1c12144ee2b8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-14T06:49:07.000Z",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "9c9ed3e205ec2e36c74cc501f375a11fc191dfeb254927ccbe2be9b3f846ec61",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-05-22T09:18:57.000Z",
      "commit": "76a6ed0b7bb540365323e827f8bac191157c2fd6",
      "fileid": "6488dfb778306d3d7c561a4c270dcb5a440f935e6f99f5f6fdf6025291906a81",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mikejohnson51/actions/runs/25845901582"
    }
  ]
}