-
Notifications
You must be signed in to change notification settings - Fork 1
Home
The Water Resources Evaluation Service (WRES) is a comprehensive service for evaluating the quality of hydrologic models and forecast systems. The WRES performs all steps of the data-to-statistics transformation pipeline required to perform an evaluation, from data ingest, to constructing observed-prediction pairs, allocating those pairs to pools, computing statistics for each pool, and outputting results.
The WRES has three modes of operation:
-
Via a WRES web-service instance. This mechanism of use is described in the wiki, WRES Web Service (wiki is yet to be written), which includes instructions for setting up such an instance. An example WRES web-service instance is the Central OWP WRES (COWRES) hosted at the National Water Center (NWC) in Tuscaloosa, Alabama, and available for use from National Weather Service (NWS) River Forecast Center (RFC) and Office of Water Prediction (OWP) machines.
-
Via a command-line application. This mechanism of use is described below and requires either downloading a release artifact and unzipping it or building and installing the code locally using a clone.
-
Via a long-running, WRES local-server instance. This mechanism of use is described in the wiki WRES Local Server. It, too, requires either downloading a release artifact and unzipping it or building and installing the code locally using a clone.
In each mode, the user can either run an evaluation in-memory, the size of the evaluation limited by memory allocation, or use a database, supporting large evaluations of many features and many time series. See Instructions for Using WRES for more information.
See Instructions for Using WRES. That wiki will redirect you to other wikis, as needed, including to the Declaration language wiki for evaluation declaration instructions, and wikis specific to how you want to execute the evaluation (via command-line execution, long-running local-server, or full WRES web-service).
Running the WRES as a command-line application may be the simplest way to execute it, but its also not as robust and requires local updates and support. If a WRES web-service instance is available, its highly recommended that you use it. Still, instructions for downloading and executing are below.
a. Navigate to the releases page, https://github.com/NOAA-OWP/wres/releases.
b. Download the latest core zip from the assets of the most recent deployment. That .zip should follow the pattern, wres-DATE-VERSION.zip
.
Unzip the release package and change directory to the unzipped wres
directory. To execute a project you can run the following command:
bin/wres execute yourProject.yml
Obtaining and running a locally built WRES may be important for developers, but, if you just want to run it, using a release package is recommended, as described above. Instructions for building the WRES are below.
To build WRES for local use, clone the repository, and run the following commands in your preferred terminal (use gradlew.bat
on a Windows machine):
./gradlew check javadoc installDist
This is similar to unzipping the production distribution zip locally. The WRES software will be built and installed in build/install/wres
directory, as if unzipped.
Do the following:
cd build/install/wres/
bin/wres execute yourProject.yml
Once the software has been built and installed locally, running the following command (use wres.bat
on a Windows machine) will execute a test project using the executable you have created (this running successfully is reliant on being in the wres/build/install/wres
directory):
bin/wres ../../../systests/testScenario/evaluation.yml
The WRES Wiki
-
Options for Deploying and Operating the WRES
- Obtaining and using the WRES as a standalone application
- WRES Local Server
- WRES Web Service (under construction)
-
- Format Requirements for CSV Files
- Format Requirements for NetCDF Files
- Introductory Resources on Forecast Verification
- Instructions for Human Interaction with a WRES Web-service
- Instructions for Programmatic Interaction with a WRES Web-service
- Output Format Description for CSV2
- Posting timeseries data directly to a WRES web‐service as inputs for a WRES job
- WRES Scripts Usage Guide