Commit e0396951 authored by Agrineer.org's avatar Agrineer.org

minor edits

parent 5736026c
......@@ -13,29 +13,30 @@ Requirements:
- large disk capacity.
- ~65G just for container.
- data capacity depends on maintenance practice.
-
- OS platform which supports Docker software.
- Time to construct: about 3 hours.
License:
Gnu Public License 3.0 (GPLv3)
-------------------------------------------------------------
NOTE: You can use this docker file as a guide in implementing
a non-container version by following the Docker commands step-by-step.
a non-container version by following the Docker commands step-by-step.
-----------------------------------------------------------------
NOTE: In this package, the agrineer and wrf directories are stubbed out with links and folders which get filled in as the container is constructed.
-----------------------------------------------------------------
NOTE: This container requires a large disk space (about 65GB), which includes OS, 3rd party packages, and mostly geo static data. This does not include daily weather input daily or output data.
You will need to determine if the disk partition housing the container is large enough.
If you think the partition is not large enough to accomodate the container disk requirements, follow the instructions below in the "After Build" section.
-----------------------------------------------------------------
How to create the container:
......@@ -43,7 +44,6 @@ Go to or make a recipient directory and install a copy of the released code:
```bash
$ cd .../projects
$ git clone https://gitlab.com/agrineer/WRF_container
```
or
......@@ -90,6 +90,7 @@ [email protected]
```
NOTE: Editing the wrf/scripts/upload.sh file BEFORE building the container preserves
the registration data for rentry into the container.
-----------------------------------------------------------------
Build the container:
```bash
......@@ -157,6 +158,7 @@ $ sudo ln -s /YOUR_BIG_PARTITION/docker /var/lib/docker
$ sudo service docker start
```
-----------------------------------------------------------------
Inside the container:
The above docker command will give you a root login into the container.
......@@ -215,12 +217,14 @@ and when it gets to WRF implementation you can watch the WRF progress with:
$ tail -f wrf/sectors/SECTOR/wrf/rsl.error.0000
```
-------------------------------------------------------------
To change the number of cores/sector:
```bash
$ cd wrf/scripts
```
Edit wrfGFS.py, find ncores = 4, change, and save.
Future releases will have "ncores" configurable as an enviroment variable.
------------------------------------------------------------
Note: There is a lock file laid down in wrf/log for each WRF run. eg. wrf_running_SECTOR.log. Should the WRF run be interrupted for any reason you will need to remove the lock file before starting that SECTOR run again.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment