GithubHelp home page GithubHelp logo

Comments (7)

dblodgett-usgs avatar dblodgett-usgs commented on August 16, 2024 1

That's it.

from hygeo.

dblodgett-usgs avatar dblodgett-usgs commented on August 16, 2024

There are basically three ways that a set of catchment parameters can be associated to a catchment.

  1. associate directly to a catchment-area id
  2. associate to an inflow nexus and outflow nexus
  3. associate to a set of inflow nexuses and set of outflow nexuses.

The first and second are worth pursuing near term. The third is an interesting concept but might be more complexity than its worth.

For flowpaths, hydrodynamic models will either be catchment oriented or need a nexus-based coupling.

  1. associate directly to a flowpath id
  2. associate to one or more hydrologic locations that realize nexuses.

from hygeo.

dblodgett-usgs avatar dblodgett-usgs commented on August 16, 2024

Looking at the GIUH Parameters we have so far, we have:

Screen Shot 2020-07-28 at 3 04 58 PM

Which is keyed off NHDPlusV2 catchment ID.

I think what we want is a json structure like:

{
  "model-id": {
    "catchment": "cat-id",
    "type": "giuh",
    "CDF": {
      "CumulativeFreq": [1, 2, 3],
      "Time": [1, 2, 3]
    },
    "minHydro": {
      "Runoff": [1, 2, 3],
      "Time": [1, 2, 3]
    },
    "hr_Hydro": {
      "Runoff": [1, 2, 3],
      "Time": [1, 2, 3]
    }
  }
}

or:

{
  "model-id": {
    "inflow-nexus": "nex-id",
    "outflow-nexus": "nex-id",
    "type": "giuh",
    "CDF": {
      "CumulativeFreq": [1, 2, 3],
      "Time": [1, 2, 3]
    },
    "minHydro": {
      "Runoff": [1, 2, 3],
      "Time": [1, 2, 3]
    },
    "hr_Hydro": {
      "Runoff": [1, 2, 3],
      "Time": [1, 2, 3]
    }
  }
}

The first implies an inflow and outflow nexus, so really the second is all-encompassing.

from hygeo.

hellkite500 avatar hellkite500 commented on August 16, 2024

Would something like this be what you are looking for?
https://github.com/NOAA-OWP/ngen/blob/master/data/example_realization_config.json

from hygeo.

christophertubbs avatar christophertubbs commented on August 16, 2024

Just as a heads up: the config is going to change just a bit in order in incorporate stuff like the giuh parameters within the model definition; it just makes it easier to pass as one big chunk rather than having to isolate "Ok, I have the basic model parameters and the forcing config, now to generate a giuh config and pass that in as well".

TL;DR: the giuh object is going to float up under "tshirt" in the config, rather than being on the same level.

from hygeo.

dblodgett-usgs avatar dblodgett-usgs commented on August 16, 2024

Definitions

model domain: A subset of the reference domain.

  • Specified as a catchment aggregate using an inflow nexus and outflow nexus.
  • A model domain uses a consistent catchment area formulation for all contained catchments.
  • A model domain is a catchment network with internal i/o hydrologic locations that link to reference domain i/o hydrologic locations.

reference domain: A continental-scale hydrofabric

  • A common hydrography catchment / nexus network for i/o locations and forcing / coupling interface standardization.

catchment: see HY_Features

catchment aggregate: see HY_Features

  • In this context, an aggregate of reference domain catchments

inflow nexus: see HY_Features

outflow nexus: see HY_Features

catchment network: see HY_Features

hydrologic location: see HY_Features

Model Domain Parameters

For a given model domain, a parameter configuration file declares an inflow nexus, outflow nexus, default parameters and formulation.

For the model domain, mappings from model i/o hydrologic locations to reference domain i/o hydrologic locations.

For the model domain, a list of catchments area parameter objects corresponding to the model domain formulation must be included. The parameter objects can be empty if default parameters are to be used. A catchment ID is required for all catchments in the model domain.

from hygeo.

dblodgett-usgs avatar dblodgett-usgs commented on August 16, 2024

After discussion today, this basic layout for parameters seemed sensible. Will work this up over in the ngen repo and propose some follow on work in Trello.

from hygeo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.