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
Copy file name to clipboardexpand all lines: docs/authors.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,5 @@ None yet. Why not be the first?
6
6
7
7
### Other contributors
8
8
9
-
Those who have given their feedback and reported bugs can be found in [https://github.com/wxguy/wrfplot/issues](https://github.com/wxguy/wrfplot/issues).
9
+
Those who have given their feedback and reported bugs can be found in
`wrfplot` is a Command Line application written in Python Programming Language to plot set of diagnostic forecast variables from Weather Research and Forecasting (WRF) atmospheric model output file. Though, WRF model output files are simple NetCDF, it requires one to install various software and libraries to plot even a single variable. Python has many modules that can deal with WRF model output data set. However, setting up these libraries, plotting variables through reading a lot of documentation is a tedious process. wrfplot aims to fill this gap by proving an application that is easy to install and use.
4
-
5
-
The idea of developing `wrfplot` came to my mind as I frequently revisit the same code base again and again to tweak a few lines of code to get changes in final plots. Therefore, I was looking for a command line application that would help me to generate a common WRF model forecast images by providing appropriate command line options. I could not find any and hence created one.
3
+
`wrfplot` is a Command Line application, written in Python programming language,
4
+
to plot a set of diagnostic forecast variables from the Weather Research and
5
+
Forecasting (WRF) atmospheric model output file.
6
+
Though, WRF model output files are ust a NetCDF file,
7
+
it requires one to install various software and libraries to plot a single variable.
8
+
Python has many modules that can deal with WRF model output data set.
9
+
However, setting up these libraries, plotting variables through reading a lot of documentation is a tedious process.
10
+
`wrfplot` aims to fill this gap by proving an application that is straightforward to install and use.
11
+
12
+
The idea of developing `wrfplot` came to my mind as I frequently revisit the same code base again and again to tweak a
13
+
few lines of code to get changes in final plots.
14
+
Therefore, I was looking for a command line application
15
+
that would help me to generate a common WRF model forecast images by providing appropriate command line options.
16
+
I could not find any and hence created one.
6
17
7
18
## Use Cases
8
19
9
-
A typical use case of `wrfplot` would be to include as part of your WRF model run framework to plotting of variables immediately after the model run is completed. The other use case would be to use it for producing publication quality 2D maps that do not have much tweaking for your publication.
20
+
A typical use case of `wrfplot` would be to include as part of your WRF model run framework
21
+
to plotting of variables immediately after the model run is completed.
22
+
The other use case would be
23
+
to use it for producing publication quality 2D maps that have little tweaking for your publication.
10
24
11
25
!!! note
12
26
13
-
`wrfplot` is a new application. If you find any issues related to plotting variables or documentation, please open an issue in Github as given in [Support](support.md) secion.
27
+
`wrfplot` is a new application. If you find any issues related to plotting variables or documentation, please open an issue in Github as given in [Support](support.md) secion.
14
28
15
29
16
30
The best way to explore the application is to read and execute the extensive examples provided in [usage](usage.md) section.
17
31
18
32
For complete list of options, execute the following command in the terminal or cmd window:
19
33
20
-
```console
21
-
$ wrfplot --help
34
+
```commandline
35
+
wrfplot --help
22
36
```
23
37
24
38
## Source Code
25
39
26
40
`wrfplot` is an Open Source application and released under General Public License (GPL) Version 3.
27
-
The source code of the application can be found at [https://github.com/wxguy/wrfplot](https://github.com/wxguy/wrfplot).
41
+
The source code of the application can be found at [https://github.com/wxguy/wrfplot](https://github.com/wxguy/wrfplot).
Copy file name to clipboardexpand all lines: docs/install.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -3,18 +3,18 @@
3
3
This section briefly guides you to install **_wrfplot_** on a variety of Operating Systems viz., Linux, Windows and macOS.
4
4
5
5
## System Requirements
6
-
Here are the following dependencies you should know about before installing wrfplot:
6
+
Here are the following dependencies you should know about before installing `wrfplot`:
7
7
8
8
* Operating System (Windows): Windows 10 or above. May work on Windows 7/ 8 but not tested.
9
9
10
-
* Operating System (Linux): Ubuntu 18.04 or above. If you wish to use it on Red Hat or Cent OS based, then it should be versioned 7 or above.
10
+
* Operating System (Linux): Ubuntu 20.04 or above. If you wish to use it on Red Hat or Cent OS based, then it should be versioned 8 or above.
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
14
## Install on Windows, Linux and macOS
15
15
16
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:
17
+
If you have already conda installed, then the following command is enough to install `wrfplot`:
18
18
19
19
```commandline
20
20
conda install -c cond-forge wrfplot
@@ -78,10 +78,10 @@ That’s it. You have successfully installed `wrfplot`.
78
78
79
79
### Installation under Linux
80
80
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):
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):
82
82
83
-
```console
84
-
$ bash ~/Downloads/wrfplot-linux-64bit.run
83
+
```commandline
84
+
bash ~/Downloads/wrfplot-linux-64bit.run
85
85
```
86
86
87
87
that would produce the output as indicated below:
@@ -103,15 +103,15 @@ Installation completed. Please restart your terminal to continue using wrfplot..
103
103
104
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`:
105
105
106
-
```console
107
-
$ conda install -c conda-forge wrfplot
106
+
```commandline
107
+
conda install -c conda-forge wrfplot
108
108
```
109
109
110
110
## Confirm Installation
111
111
112
112
The easiest way to check the installation is to issue the following command in the terminal:
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.
1
+
`wrfplot` is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License
2
+
as published by the Free Software Foundation, either version 3 of the License, or any later version.
2
3
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
+
`wrfplot` is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
5
+
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6
+
See the GNU General Public License for more details.
4
7
5
-
You should have received a copy of the GNU General Public License along with wrfplot. If not, see <http://www.gnu.org/licenses/>.
8
+
You should have received a copy of the GNU General Public License along with `wrfplot`.
Copy file name to clipboardexpand all lines: docs/support.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
If you encounter any bugs or issues that have not been reported yet, you must open an issue at [https://github.com/wxguy/wrfplot/issues](https://github.com/wxguy/wrfplot/issues).
1
+
If you encounter any bugs or issues that have not been reported yet, you must
2
+
open an issue at [https://github.com/wxguy/wrfplot/issues](https://github.com/wxguy/wrfplot/issues).
2
3
3
4
For any other questions or inquiries, feel free to reach out to the project developer(s):
Copy file name to clipboardexpand all lines: docs/usage.md
+22-21
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
## Basic Usage
2
2
3
-
The first step in plotting diagnostic variable to find what all variables are supported by wrfplot application.
3
+
The first step in plotting diagnostic variable to find what all variables are supported by `wrfplot` application.
4
4
This is required as the application would accept variable names only in certain string format.
5
5
Therefore, you should list and review the name of variable by issuing the following command in the terminal:
6
6
7
-
```console
8
-
$ wrfplot --list-vars
7
+
```commandline
8
+
wrfplot --list-vars
9
9
```
10
10
11
11
Invoking the above command will produce the following output:
@@ -56,16 +56,18 @@ Variable "u_cape" --> Convective Available Potential Energy ($J kg^{1}$)
56
56
The above console print has two names. One with quote and the other is without.
57
57
The name within quote such as "slp" is called short variable, and without a quote is called long variable.
58
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.
59
+
For example, if you need to plot `2m Relative Humidity`, then you need to remember the sort variable name in the first
60
+
quote `“”` i.e, `“rh2”`. With this, we will proceed ahead to plot “rh2” variable. To plot any variable,
61
+
there are minimum three arguments required to be provided. They are `--vars`, `--input` and `--output`.
62
+
Details of these would be discussed later.
62
63
63
64
## Plotting Surface Variable
64
65
65
-
All the variables which does not start with `u_` string are surface variable. Now, let's go ahead and start plotting the variable “2m Relative Humidity” named as “rh2”:
66
+
All the variables which does not start with `u_` string are surface variable.
67
+
Now, let's go ahead and start plotting the variable `“2m Relative Humidity”` named as `“rh2”`:
This would produce an animated `gif` image as shown below:
@@ -176,8 +178,8 @@ This would produce an animated `gif` image as shown below:
176
178
177
179
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:
Copy file name to clipboardexpand all lines: docs/variables.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Supported Variables
2
2
3
-
This page contains the list of supported variables by wrfplot. You can see the same list from your terminal by invoking `wrfplot --list-vars` command any time. The variable name starting with `u_` is upper atmospheric data at standard Pressure levels `925`, `850`, `700`, `600`, `500`, `400`, `300` and `200`. How to use the variable name (first column) will be discussed in the next page.
3
+
This page contains the list of supported variables by wrfplot. You can see the same list from your terminal by
4
+
invoking `wrfplot --list-vars` command any time. The variable name starting with `u_` is upper atmospheric data at
5
+
standard pressure levels of `925`, `850`, `700`, `600`, `500`, `400`, `300` and `200` hPa. How to use the variable
6
+
name (first column) will be discussed in the next page.
0 commit comments