Last change
on this file since 5421 was
4773,
checked in by idelkadi, 13 months ago
|
- Update of Ecrad in LMDZ
The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results.
version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
- Implementation of the double call of Ecrad in LMDZ
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[4773] | 1 | #!/bin/bash |
---|
| 2 | # |
---|
| 3 | # (C) Copyright 2020- ECMWF. |
---|
| 4 | # |
---|
| 5 | # This software is licensed under the terms of the Apache Licence Version 2.0 |
---|
| 6 | # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. |
---|
| 7 | # |
---|
| 8 | # In applying this licence, ECMWF does not waive the privileges and immunities |
---|
| 9 | # granted to it by virtue of its status as an intergovernmental organisation |
---|
| 10 | # nor does it submit to any jurisdiction. |
---|
| 11 | |
---|
| 12 | # This script sits in the bin directory of an ecRad distribution. To |
---|
| 13 | # create an ecRad practical session in the present working directory, |
---|
| 14 | # type the full path to this script. It will then copy over the |
---|
| 15 | # relevant files or create symbolic links. |
---|
| 16 | |
---|
| 17 | # Stop if an error occurs |
---|
| 18 | set -ex |
---|
| 19 | |
---|
| 20 | ECRADDIR=$(dirname $0)/.. |
---|
| 21 | PRACDIR=$ECRADDIR/practical |
---|
| 22 | |
---|
| 23 | ln -s -f $ECRADDIR/bin/ecrad |
---|
| 24 | ln -s -f $ECRADDIR/data |
---|
| 25 | ln -s -f $PRACDIR/era5slice.nc |
---|
| 26 | ln -s -f $PRACDIR/ecrad_practical.pdf |
---|
| 27 | |
---|
| 28 | cp -a -f $PRACDIR/ecradplot . |
---|
| 29 | cp -f $PRACDIR/plot_*.py $PRACDIR/compare_*.py . |
---|
| 30 | cp -f $PRACDIR/clean.sh $PRACDIR/config.nam $PRACDIR/README . |
---|
| 31 | |
---|
| 32 | set +ex |
---|
| 33 | |
---|
| 34 | echo |
---|
| 35 | echo "*** You are now ready to start the ecRad practical - congratulations! ***" |
---|
Note: See
TracBrowser
for help on using the repository browser.