GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Config file option · Issue #9 · PRMS-Python/PRMS-Python

Config file option #9

New issue
Copy link
New issue
Copy link
Open
Open
Config file option#9
Copy link
Labels
enhancement
Milestone
v0.2 - Config file option and Model Parameters Optimization

Description

@mt-digital
mt-digital
opened on Jul 7, 2016
Issue body actions

Give users the ability to run scenario series via a config file. Provide fields for default files and directories and HydroShare credentials.

Activity

  1. mt-digital
    added
    enhancement
    on Jul 7, 2016
  2. mt-digital
    added this to the v0.2 - Config file option and Model Parameters Optimization milestone on Jul 7, 2016
  3. JohnVolk commented on Jul 8, 2016

    @JohnVolk
    JohnVolk
    on Jul 8, 2016
    Collaborator
    More actions

    how about something like this

    prms_config.txt

    it will be a .ini file, then we then use the ConfigParser built in library:

    In [1]: import ConfigParser
    
    In [2]: Config = ConfigParser.ConfigParser()
    
    In [3]: Config.read("prms_config.txt")
    Out[3]: ['prms_config.txt']
    
    In [4]: Config.sections()
    Out[4]: ['optimixation_control_parameters', 'output_stats', 'data_file_paths']
    
    In [5]: Config.get('data_file_paths', 'solrad')
    Out[5]: '/home/user/PRMS-Python/dry_creek/climate/bogus_ridge_daily_shortwave_radiation_langleys.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      • v0.2 - Config file option and Model Parameters Optimization

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.