Skip to content

Commit

Permalink
icontools: align code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Jul 2, 2024
1 parent cf9e023 commit 9993e68
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/tools/icontools.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,28 +54,28 @@ This manual refers to the workflow MeteoSwiss currently uses to run LAM simulati

* Add fields `FI` and `z` from IFS analysis to LBC prior to the interpolation using `cdo` (GRIB only). To use the `cdo` command, make sure the module is loaded: `module load daint-gpu CDO`.

```bash
cdo -selname,FI analysis_file fi_file
cdo -selname,z analysis_file z_file
cdo settime,'03:00:00' fi_file fi_file_time
cdo settime,'03:00:00' z_file z_file_time
cdo setreftime,2019-09-30,03:00:00 z_file_time z_file_reftime
cat lbc_file zfile_reftime fi_file_time > complete_file
```
```bash
cdo -selname,FI analysis_file fi_file
cdo -selname,z analysis_file z_file
cdo settime,'03:00:00' fi_file fi_file_time
cdo settime,'03:00:00' z_file z_file_time
cdo setreftime,2019-09-30,03:00:00 z_file_time z_file_reftime
cat lbc_file zfile_reftime fi_file_time > complete_file
```

* Adapt scripts `icontools/C2SM/remap_ini` and `icontools/C2SM/remap_lbc` to your needs

* Remap IFS data for BC:

```bash
sbatch -A <account> icontools/C2SM/remap_lbc
```
```bash
sbatch -A <account> icontools/C2SM/remap_lbc
```

* Remap IFS data for analysis:

```bash
sbatch -A <account> icontools/C2SM/remap_ini
```
```bash
sbatch -A <account> icontools/C2SM/remap_ini
```

## Documentation

Expand Down

0 comments on commit 9993e68

Please sign in to comment.