Commit e1ec0b43 authored by Willi Rath's avatar Willi Rath

Add MIMOC_cf

parent 1d4db832
repo_name: MIMOC_cf
people: Willi Rath (<wrath@geomar.de>)
http_path_remote: https://git.geomar.de/data/MIMOC_cf
git_path_remote: git@git.geomar.de:data/MIMOC_cf.git
repo_description: |
A CF compliant version of MIMOC (See
<https://www.pmel.noaa.gov/mimoc/index.html> and
<https://git.geomar.de/data/MIMOC/>.)
prefixes: data doc
pre_processing:
- GIT_LFS_SKIP_SMUDGE=1 git submodule add git@git.geomar.de:data/MIMOC.git non_cf_data || echo "non-CF submodule exitst"
- cd _non_cf_data; git pull; git lfs pull; git describe
post_processing:
- util/make_CF_compliant.sh
This diff is collapsed.
#!/bin/bash
(cd _non_cf_data/ && echo Using MIMOC "`git describe`";)
for month in {01..12}; do
echo "==== month" ${month} "===="
for f in _non_cf_data/data/MIMOC*month${month}.nc; do
infile=$f
outfile=data/`basename $f .nc`_cf.nc
util/make_CF_compliant.py ${month} ${infile} ${outfile}
done
done
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