Code Monkey home page Code Monkey logo

zonebudget's People

Contributors

jdhughes-usgs avatar langevin-usgs avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

zonebudget's Issues

Integer width not wide enough, and suggestion for character zones

Chris,

In the Great Basin version 3 model, I have zones that split some of the hydrographic areas into mountains and valleys. The zones were already 3 digits so that they could (in most cases) match the official HA number. To split them I added a fourth digit. Zonebudget seems to be able to handle this, and the .csv and .2.csv files are readable, although there is no space between the word zone and the number. The .zblst file, however, prints those zone numbers out as ***. This causes a problem when trying to use GWChart to look at things. Is there any way to fix that? And if you are changing things anyway, is there any way to make Zonebudget work with alphanumeric zones instead of only numeric zones. That way I wouldn't have to name HA 240B, for example, as 340 because HA 240A is already named 240. And flow regions could be named by an abbreviation instead of a number that means nothing.

I'm underfunded this year. If you could send me funding and money to get a compiler, I could look at this.

Lynette

Lynette E. Brooks, P.E.
Hydrologist
U.S. Geological Survey
Utah Water Science Center
2329 Orton Circle
Salt Lake City, Utah 84119-2047
(801) 908-5014

Bug in writing CSV2 file

I think we may have found a bug in zone budget (in zonbudusg, but also likely in structured zone budget), and I wanted to get your opinion to see if I am missing something obvious. Here is the situation:

  1. Compact budget option is NOT used
  2. Wells are on in stress period 1 but later, the number of active wells is specified as 0
  3. Zone budget is asked to write a CSV2 file

In this situation, the non-compact budget file has an entry for WELLS in stress period 1, but it does not have an entry later on. It appears that zone budget gets confused for the CSV2 case because the number of columns has changed.

Does this sound like something you have encountered or seen before? When I run the model with COMPACT BUDGET everything works as expected.

If this is a bug, it seems like a fix would be to read through the entire budget file and determine names for all of the columns, and then go back and process the file.

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.