-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path06-WRF-Hydro-Postprecess.html
144 lines (117 loc) · 3.24 KB
/
06-WRF-Hydro-Postprecess.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<title>Hands-on Traning</title>
<meta charset="utf-8">
<meta name="author" content="Chuliang Xiao" />
<link rel="stylesheet" href="xaringan-themer.css" type="text/css" />
</head>
<body>
<textarea id="source">
class: center, middle, inverse, title-slide
# Hands-on Traning
## 06-WRF-Hydro Post-processing
### Chuliang Xiao
### 5/25/18
---
#Using git to connect GitHub
* To clone
```git
git clone https://github.com/ChuliangXiao/Training.git
```
* To update
```git
cd Training
git pull
```
---
# Outline
#### Review of WRF-Hydro Workflow
#### WRF-Hydro Input and Output
* WRF-Hydro Output
+ ASCII: `frxst_pts_out.txt`
+ NetCDF: `201101010000.CHANOBS_DOMAIN1`
* Comparison with USGS
* Mean-area Precipitation
---
# Offline WRF-Hydro Workflow
<div align="center">
<img src="WRF-Hydro-Workflow.png" width=800 height=480>
</div>
(Courtesy **WRF-Hdyro Training Material**)
---
# WRF-Hydro Workflow
<div align="center">
<img src="WRF-Hydro-Workflow-Executable.png" width=800 height=480>
</div>
(Courtesy **WRF-Hdyro Training Material**)
---
# WRF-Hydro Output
```
/glade2/scratch2/cxiao/Champlain/Stream
```
* Download USGS
`download.US.R`
* Read in `CHANOBS`
`read.CHRTOUT.US.R`
* Caclulate Mean Area Precipitation
`Calc_Mean_Areal.R`
`MAP.R`
* Plot Hydrograph
`Hydrograph.Comp.US.ggplot2.png.R`
---
# Iterative run
.pull-left[
* Currently, WRF-Hydro is restated manually.
+ Submit a job with maximum time
+ Ouput restart files every 15 day
+ Restart WRF-Hydro every 2-3 years
- Find the most recent restart point
- Change the start point `namelist.hrlads` and `hydro.namelist`
- Submit a new job
]
.pull-right[
* Automatically WRF-Hydro restart run
+ A normal inital run
+ Automatical restart
- No model crash
- One year restart interval
- Restart at the beginning of the year
]
</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script>var slideshow = remark.create({
"highlightStyle": "github",
"highlightLines": true,
"countIncrementalSlides": false,
"ratio": "16:9"
});
if (window.HTMLWidgets) slideshow.on('afterShowSlide', function (slide) {
window.dispatchEvent(new Event('resize'));
});
(function() {
var d = document, s = d.createElement("style"), r = d.querySelector(".remark-slide-scaler");
if (!r) return;
s.type = "text/css"; s.innerHTML = "@page {size: " + r.style.width + " " + r.style.height +"; }";
d.head.appendChild(s);
})();</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre']
}
});
</script>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML';
if (location.protocol !== 'file:' && /^https?:/.test(script.src))
script.src = script.src.replace(/^https?:/, '');
document.getElementsByTagName('head')[0].appendChild(script);
})();
</script>
</body>
</html>