Giter Club home page Giter Club logo

smrf's Introduction

Spatial Modeling for Resources Framework

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

Spatial Modeling for Resources Framework (SMRF) was developed by Dr. Scott Havens at the USDA Agricultural Research Service (ARS) in Boise, ID. SMRF was designed to increase the flexibility of taking measured weather data and distributing the point measurements across a watershed. SMRF was developed to be used as an operational or research framework, where ease of use, efficiency, and ability to run in near real time are high priorities.

Usage

Read the full documentation for SMRF including up to date installation instructions.

Quick Start

Native install

Docker

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 https://docs.docker.com/engine/userguide/containers/dockervolumes/. The container has a shared data volume at /data where the container can access the local file system.

When the image is ran, it will go into the Python terminal within the image. Within this terminal, SMRF can be imported. The command /bin/bash can be appended to the end of docker run to enter into the docker terminal for full control. It will start in the /data location with SMRF code in /code/smrf.

For Linux docker run -v <path>:/data -it usdaarsnwrc/smrf [/bin/bash]

For MacOSX: docker run -v /Users/<path>:/data -it usdaarsnwrc/smrf [/bin/bash]

For Windows: docker run -v /c/Users/<path>:/data -it usdaarsnwrc/smrf [/bin/bash]

Running the test

docker run -it usdaarsnwrc/smrf /bin/bash
cd /code/smrf
gen_maxus --out_maxus test_data/topo/maxus.nc test_data/topo/dem.ipw
run_smrf.py test_data/testConfig.ini

The output netCDF files will be placed in the /code/smrf/test_data/output location.

smrf's People

Contributors

jomey avatar micah-prime avatar micahjohnson150 avatar pkormos avatar scotthavens avatar

Watchers

 avatar

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.