|
Last change
on this file since 5875 was
4728,
checked in by idelkadi, 2 years ago
|
|
Update of ecrad in the LMDZ_ECRad branch of LMDZ:
- version 1.6.1 of ecrad
- files are no longer grouped in the same ecrad directory.
- the structure of ecrad offline is preserved to facilitate updating in LMDZ
- cfg.bld modified to take into account the new added subdirectories.
- the interface routines and those added in ecrad are moved to the phylmd directory
|
-
Property svn:executable set to
*
|
|
File size:
821 bytes
|
| Line | |
|---|
| 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 | |
|---|
| 13 | # This script cleans a directory that has been used for the ecRad |
|---|
| 14 | # practical |
|---|
| 15 | |
|---|
| 16 | set -x |
|---|
| 17 | |
|---|
| 18 | # Remove plots |
|---|
| 19 | rm -f era5slice*.png |
|---|
| 20 | |
|---|
| 21 | # Remove edited config files |
|---|
| 22 | rm -f config_*.nam |
|---|
| 23 | |
|---|
| 24 | # Remove ecRad output netCDF files, i.e. all netCDF files except for |
|---|
| 25 | # era5slice.nc |
|---|
| 26 | rm -f $(ls -1 *.nc | egrep -v "era5slice.nc|era5slice_hydromet.nc") |
|---|
| 27 | |
|---|
| 28 | # Remove Python cached files |
|---|
| 29 | rm -rf ecradplot/__pycache__ |
|---|
| 30 | |
|---|
| 31 | # Remove emacs autosave files |
|---|
| 32 | rm -f *~ |
|---|
| 33 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.