You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed bug that didn't take --cmap argument
Added license page in documentation site
Added documentation to explain the use of --clevels option
Added documentation section about use of --ulevels option
Update to readthedoc build which was failing earlier
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Details of PyPi package [
12
12
13
-
Conda details 
13
+
Conda details 
14
14
15
15
## About wrfplot
16
16
@@ -20,7 +20,7 @@ The idea of developing wrfplot came to my mind as I frequently revisit the same
20
20
21
21
## Documentation
22
22
23
-
Documentation of this project is located at https://wrfplot.readthedocs.io.
23
+
Documentation of this project is located at https://wxguy.in/wrfplot.
24
24
25
25
## Use Cases
26
26
@@ -43,11 +43,11 @@ wrfplot --version
43
43
44
44
## Binary (standalone) Installation
45
45
46
-
Since it is intended to be used as command line, the application is also distributed as stand-alone on both Linux and Windows. You must download the correct version of application installer or setup file. Both are described below:
46
+
Since it is intended to be used as a command line, the application is also distributed as stand-alone on both Linux and Windows. You must download the correct version of application installer or setup file. Both are described below:
47
47
48
48
### Windows Only
49
49
50
-
Go to https://github.com/wxguy/wrfplot/releases and look for latest release. The Windows setup executable will have name `wrfplot-windows-64bit.exe`. Click on the link and download it to local disk. The rest of the installation procedure is same as you do for any other windows setup files. Once installed Check if installation is successful by typing following command in `cmd` window which should not produce any errors:
50
+
Go to https://github.com/wxguy/wrfplot/releases and look for the latest release. The Windows setup executable will have name `wrfplot-windows-64bit.exe`. Click on the link and download it to local disk. The rest of the installation procedure is same as you do for any other windows setup files. Once installed Check if installation is successful by typing following command in `cmd` window which should not produce any errors:
Copy file name to clipboardexpand all lines: docs/install.md
+22-4
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,27 @@ Here are the following dependencies you should know about before installing wrfp
11
11
12
12
* Architecture: x86_64 or simple called 64bit. **_Don't download if you have 32bit machine_**. It won't work.
13
13
14
+
## Install on Windows, Linux and macOS
15
+
16
+
Support for all platforms is provided through conda-forge.
17
+
If you have already conda installed, then the following command is enough to install wrfplot:
18
+
19
+
```commandline
20
+
conda install -c cond-forge wrfplot
21
+
```
22
+
23
+
Check your installation by typing the following command which should show the version number:
24
+
25
+
```commandline
26
+
wrfplot --version
27
+
2.0.2
28
+
```
29
+
30
+
## Standalone (Binary) Installation
31
+
14
32
Since it is intended to be used as a command line, the application is distributed as stand-alone on both Linux and Windows. You must download the correct version of application installer or setup file. Both are described in the subsection below.
15
33
16
-
## Installation under Windows
34
+
###Installation under Windows
17
35
Go to [https://github.com/wxguy/wrfplot/releases](https://github.com/wxguy/wrfplot/releases) and look for the latest release. The Windows setup executable will have name `wrfplot-windows-64bit.exe` and download it to the local disk. The rest of the installation procedure is same as you do for any other windows setup files. Here are the complete process of installing in visual format:
18
36
19
37
<figuremarkdown="span">
@@ -53,12 +71,12 @@ Go to [https://github.com/wxguy/wrfplot/releases](https://github.com/wxguy/wrfpl
<figcaption>Click Finish to Close Setup</figcaption>
57
75
</figure>
58
76
59
77
That’s it. You have successfully installed `wrfplot`.
60
78
61
-
## Installation under Linux
79
+
###Installation under Linux
62
80
63
81
Go to [https://github.com/wxguy/wrfplot/releases](https://github.com/wxguy/wrfplot/releases) and look for the latest release. The Linux installer will have name wrfplot-linux-64bit.run. Click on the link and download it to local disk. Thereafter, execute the below command (assuming that the Linux installer is downloaded at ~/Downloads):
64
82
@@ -81,7 +99,7 @@ Updating .bashrc file to include install directory...
81
99
Installation completed. Please restart your terminal to continue using wrfplot...
82
100
```
83
101
84
-
## Installation under macOS
102
+
###Installation under macOS
85
103
86
104
There is no binary distribution made available for macOS at the moment. The support for macOS is provided through miniconda. If you already have miniconda/ anaconda installed, you can execute the following to install `wrfplot`:
wrfplot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
2
+
3
+
wrfplot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
4
+
5
+
You should have received a copy of the GNU General Public License along with wrfplot. If not, see <http://www.gnu.org/licenses/>.
Copy file name to clipboardexpand all lines: docs/usage.md
+85-5
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
## Basic Usage
2
2
3
-
The first step in plotting diagnostic variable to find what all variables are supported by wrfplot application. This is required as the application would accept variable names only in certain string format. Therefore, you should list and review the name of variable by issuing the following command in the terminal:
3
+
The first step in plotting diagnostic variable to find what all variables are supported by wrfplot application.
4
+
This is required as the application would accept variable names only in certain string format.
5
+
Therefore, you should list and review the name of variable by issuing the following command in the terminal:
Variable "u_cape" --> Convective Available Potential Energy ($J kg^{1}$)
52
54
```
53
55
54
-
The above console print has two names. One with quote and the other is without. The name within quote such as "slp" is called short variable, and without a quote is called long variable. You can read through a list to take note of what parameter you want to plot. For example, if you need to plot `2m Relative Humidity`, then you need to remember the sort variable name in the first quote “” i.e, `“rh2”`. With this, we will proceed ahead to plot “rh2” variable.
55
-
To plot any variable, there are minimum three arguments are to be provided. They are `--vars`, `--input` and `--output`. Details of this would be discussed later.
56
+
The above console print has two names. One with quote and the other is without.
57
+
The name within quote such as "slp" is called short variable, and without a quote is called long variable.
58
+
You can read through a list to take note of what parameter you want to plot.
59
+
For example, if you need to plot `2m Relative Humidity`, then you need to remember the sort variable name in the first quote “” i.e, `“rh2”`.
60
+
With this, we will proceed ahead to plot “rh2” variable. To plot any variable, there are minimum three arguments required to be provided.
61
+
They are `--vars`, `--input` and `--output`. Details of these would be discussed later.
56
62
57
63
## Plotting Surface Variable
58
64
@@ -96,7 +102,10 @@ The plotted output for variable will look like below:
96
102
97
103
## Plotting Upper Atmospheric Variables
98
104
99
-
`wrfplot` supports a few upper atmospheric variables. These variables are indicated with u_ tag for ease of identification. By default, the plot for upper atmospheric variables would be plotted for 925, 850, 700, 600, 500, 400, 300 & 200hPa. The upper levels can be controlled using --ulevels though. If you want to plot upper winds, you can specify the variable with following command:
105
+
`wrfplot` supports a few upper atmospheric variables. These variables are indicated with u_ tag for ease of identification.
106
+
By default, the plot for upper atmospheric variables would be plotted for `925`, `850`, `700`, `600`, `500`, `400`, `300` & `200` hPa.
107
+
The upper levels can be controlled using `--ulevels` though.
108
+
If you want to plot upper winds, you can specify the variable with the following command:
Remember that the level values are to be separated by `,`. That should produce the following output in the terminal:
130
+
131
+
```console
132
+
Using user provided upper level(s) : "800.0,750.0"
133
+
134
+
*** Initialising plotting for variable : "u_winds" ***
135
+
136
+
Plotting "u_winds" for level "800.0" hPa and Time : "13-05-2021_05:30" UTC
137
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_800.0_13-05-2021_05_30.png"
138
+
Plotting "u_winds" for level "800.0" hPa and Time : "13-05-2021_08:30" UTC
139
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_800.0_13-05-2021_08_30.png"
140
+
Plotting "u_winds" for level "800.0" hPa and Time : "13-05-2021_11:31" UTC
141
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_800.0_13-05-2021_11_31.png"
142
+
Plotting "u_winds" for level "800.0" hPa and Time : "13-05-2021_14:30" UTC
143
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_800.0_13-05-2021_14_30.png"
144
+
Plotting "u_winds" for level "800.0" hPa and Time : "13-05-2021_17:30" UTC
145
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_800.0_13-05-2021_17_30.png"
146
+
Plotting "u_winds" for level "750.0" hPa and Time : "13-05-2021_05:30" UTC
147
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_750.0_13-05-2021_05_30.png"
148
+
Plotting "u_winds" for level "750.0" hPa and Time : "13-05-2021_08:30" UTC
149
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_750.0_13-05-2021_08_30.png"
150
+
Plotting "u_winds" for level "750.0" hPa and Time : "13-05-2021_11:31" UTC
151
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_750.0_13-05-2021_11_31.png"
152
+
Plotting "u_winds" for level "750.0" hPa and Time : "13-05-2021_14:30" UTC
153
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_750.0_13-05-2021_14_30.png"
154
+
Plotting "u_winds" for level "750.0" hPa and Time : "13-05-2021_17:30" UTC
155
+
Image saved at : "../../test/wrfout_data/output_images/u_winds_750.0_13-05-2021_17_30.png"
156
+
157
+
Plotting process completed. It took 0H:0M:6.948402S
158
+
```
159
+
160
+
## Create Animation (GIF)
111
161
112
162
You can also create an animation of your plots using `--gif` option. Example command is given below:
113
163
@@ -122,6 +172,8 @@ This would produce an animated `gif` image as shown below:
122
172
<figcaption>Sample Animation Plot</figcaption>
123
173
</figure>
124
174
175
+
## Control Animation Speed
176
+
125
177
By default, the speed of the animation is kept as `0.5` sec. If you wish to increase or decrease the speed, you can do so by with `--gif-speed` option as indicated below where speed is increased to `0.25` sec:
126
178
127
179
```console
@@ -134,3 +186,31 @@ This would increase the speed of animation as shown in the sample image file.
0 commit comments