Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
Authors: |
|
|
---|---|---|
Owners: |
|
This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource. |
Type: | Resource | |
Storage: | The size of this resource is 45.9 KB | |
Created: | Jun 25, 2018 at 8:21 p.m. | |
Last updated: | Jul 23, 2018 at 9:55 p.m. | |
Citation: | See how to cite this resource |
Sharing Status: | Public |
---|---|
Views: | 2388 |
Downloads: | 69 |
+1 Votes: | Be the first one to this. |
Comments: | No comments (yet) |
Abstract
This collection of MATLAB scripts runs the temperature component of the stochastic harmonic autoregressive parametric (SHArP) weather generator, which simulates trended, nonstationary precipitation occurrence, precipitation amount, and temperature values. The precipitation component is not included here because it is based off of previous weather generators and doesn't use any new methods. The temperature component follows a concept introduced in previous studies, but SHArP simulates temperature values directly as opposed to simulating the temperature residuals. SHArP weather generator validation and illustrations at a single site have been published in the Journal of Applied Meteorology and Climatology (Smith et al. 2017; "A new method for generating stochastic simulations of daily air temperature for use in weather generators"; https://doi.org/10.1175/JAMC-D-16-0122.1), and the multisite generalization of SHArP is in press in the same journal (Smith et al. 2018; "Multisite generalization of the SHArP weather generator"; https://doi.org/10.1175/JAMC-D-17-0236.1).
How to use:
- All input data need to be combined into a single .mat structure file and contain the number of locations to be simulated, the number of days to simulate, a time matrix (in format: year month day), the day of year corresponding to each day, the precipitation occurrence 1s and 0s in logical format corresponding to "wet" or "dry" days (determined from observations or downscaled climate model output), the maximum temperature training data for each site (i.e. observations or downscaled climate model output), and the minimum temperature training data for each site.
- This .mat structure file (called "sett") is the input to fit_SHArP_1, which fits the parameters needed to run the model. fit_SHArP_1 internally uses fit_SHArP_var_1a to determine the coefficients for each of the 26 variables per site in the model; this latter script is not run separately. The output from fit_SHArP_1 is called the driver_t structure and needs to contain maximum and minimum temperature data (from observations or downscaled climate model output), the precipitation occurrence 1s and 0s in logical format corresponding to "wet" or "dry" days (determined from observations or downscaled climate model output), a time matrix (in format: year month day), a variable structure that contains the 26 coefficients for each variable at each site, b_k, c_k, and the results from the EOF analysis on the precipitation occurrence patterns.
- The driver_t structure is the input to simulate_SHArP_2, which gives maximum temperature and minimum temperature as output. This script can also be modified to output the temperature mean and noise but note that this will increase computation time significantly.
Subject Keywords
Content
Additional Metadata
Name | Value |
---|---|
Type | Script |
Script Version | 1.0 |
Programming Language | R |
Programming Language Version | MATLAB |
Related Resources
This resource is referenced by | https://doi.org/10.1175/JAMC-D-17-0236.1 |
This resource is referenced by | https://doi.org/10.1175/JAMC-D-16-0122.1 |
Credits
Funding Agencies
This resource was created using funding from the following sources:
Agency Name | Award Title | Award Number |
---|---|---|
National Science Foundation | Random Polymer Measures | DMS-1407574 |
National Science Foundation | Collaborative Research: CI-WATER, Cyberinfrastructure to Advance High Performance Water Resource Modeling | EPS-1135483 |
National Science Foundation | Collaborative Research: CI-WATER, Cyberinfrastructure to Advance High Performance Water Resource Modeling | EPS-1135482 |
National Science Foundation | iUTAH-innovative Urban Transitions and Aridregion Hydro-sustainability | EPS-1208732 |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment