Commit f6e1ec6b authored by Willi Rath's avatar Willi Rath

Also include CERA example in large test

parent b0890392
......@@ -83,6 +83,15 @@ data:
password_var: "STH_PWD"
method: !!python/name:data_repo_renderer.WgetRecursiveCred
- cera_data_sets:
- ERAIN_SFC12_MM_EWSS_180
- ERAIN_SFC12_MM_NSSS_181
prefix: data
username_var: CERA_USER
password_var: CERA_PWD
method: !!python/name:data_repo_renderer.JblobCred
doc:
- url: https://www.example.com/doc_01.html
......@@ -140,6 +149,22 @@ curl -o "doc/doc_01.html" \
"https://www.example.com/doc_01.html"
curl -o "doc/doc_02.html" \
"https://www.example.com/doc_02.html"
jblob_tmp_dir=$(mktemp -d)
pushd "${{jblob_tmp_dir}}"
curl \\
"http://cera-www.dkrz.de/jblob/Jblob-2.0.10.zip" \\
-o JBlob-2.0.10.zip
unzip JBlob-2.0.10.zip
popd
jblob_jar="${{jblob_tmp_dir}}"/Jblob-2.0.10/Jblob.jar
commons_jar="${{jblob_tmp_dir}}"/Jblob-2.0.10/commons-codec-1.4.jar
java -cp "${{jblob_jar}}":"${{commons_jar}}" \\
de.dkrz.cera.applications.JblobClient \\
--username "${{CERA_USER}}" \\
--password "${{CERA_PWD}}" \\
--dataset ERAIN_SFC12_MM_EWSS_180 ERAIN_SFC12_MM_NSSS_181 \\
--dir data
rm -rf "${{jblob_tmp_dir}}"
gunzip data/*.gz
util/postprocessing_01.sh
......
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