Skip to main content

Automated Water Supply Model

Project description

Automated Water Supply Model

GitHub version DOI DOI Docker Build Status Docker Automated build Coverage Status Build Status

Automated Water Supply Model (AWSM) was developed at the USDA Agricultural Research Service (ARS) in Boise, ID. AWSM was designed to streamline the work flow used by the ARS to forecast the water supply of multiple water basins. AWSM standardizes the steps needed to distribute weather station data with SMRF, run an energy and mass balance with iSnobal, and process the results, while maintaining the flexibility of each program.

image

Quick Start

The fastest way to get up and running with AWSM is to use the docker images that are pre-built and can deployed cross platform.

To build AWSM natively from source checkout the install instructions here.

Docker

Docker images are containers that allow us to ship the software to our users seamlessly and without a headache. It is by far the easiest way to use AWSM. If you are curious to read more about them, visit Whats a container on docker's website.

Using docker images comes with very minor quirks though, such as requiring you to mount a volume to access the data when you are done with your run. To mount a data volume, so that you can share data between the local file system and the docker, the -v option must be used. For a more in depth discussion and tutorial, read about docker volumes. The container has a shared data volume at /data where the container can access the local file system.

NOTE: On the host paths to the volume to mount, you must use full absolute paths!

Running the Demo

To simply run the AWSM demo; mount the desired directory as a volume and run the image, using the following command:

For Linux:

  docker run -v <path>:/data -it usdaarsnwrc/awsm:develop

For MacOSX:

  docker run -v /Users/<path>:/data -it usdaarsnwrc/awsm:develop

For Windows:

  docker run -v /c/Users/<path>:/data -it usdaarsnwrc/awsm:develop

The output netCDF files will be placed in the location you mounted (using the -v option). We like to use ncview to view our netcdf files quickly.

Setting Up Your Run

To use the AWSM docker image to create your own runs, you need to setup a project folder containing all the files necessary to run the model. Then using the same command above, mount your project folder and provide a path to the configuration file. An example of a project folder might like:

My_Basin
      ├── air_temp.csv
      ├── cloud_factor.csv
      ├── config.ini
      ├── maxus.nc
      ├── metadata.csv
      ├── output
      ├── precip.csv
      ├── solar.csv
      ├── topo.nc
      ├── vapor_pressure.csv
      ├── wind_direction.csv
      └── wind_speed.csv

Then the command would be:

docker run -v <path>/My_Basin:/data -it usdaarsnwrc/awsm:develop <path>/My_Basin/config.ini

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awsm-0.11.0rc0.tar.gz (14.1 MB view details)

Uploaded Source

File details

Details for the file awsm-0.11.0rc0.tar.gz.

File metadata

  • Download URL: awsm-0.11.0rc0.tar.gz
  • Upload date:
  • Size: 14.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for awsm-0.11.0rc0.tar.gz
Algorithm Hash digest
SHA256 c18ff75b8511ee5693781b5e06c2c8e4ba64c2a031ec0e3c6fbbc9ff29bef695
MD5 36ba6257999639b6a1c113d6fbcf0afc
BLAKE2b-256 482c84d65c9fb3dfb33464094ea2563834a844a9299d6f4fdef52444bb7c562f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page