eccodes/sms/test_gribs/smsfiles/prod_retrieve.sms

18 lines
185 B
Plaintext

%include <head.h>
cat %WORKDIR%/%DATABASE%/%CUBE% || true
if [[ ! -f data ]]
then
$MARSCMD <<@
retrieve,
database=%DATABASE%,
%REQ%,
target=tmp
@
mv tmp data
fi
%include <tail.h>