[gradsusr] Valid components of the substitution template for the TIME

Adams, Jennifer M. (GSFC-610.2)[ADNET SYSTEMS INC] jennifer.m.adams at nasa.gov
Mon Apr 8 11:59:38 EDT 2019


Hi, Minella –
Try using %tm4 instead of %f3.
--Jennifer

--
Jennifer Miletta Adams
ADNET Systems, Inc.
NASA/GSFC, Code 610.2
Building 32, Room S159
(301) 614-6070


From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Minella Martins <minella.martins at hotmail.com>
Reply-To: GrADS Users Forum <gradsusr at gradsusr.org>
Date: Monday, April 8, 2019 at 11:37 AM
To: "gradsusr at gradsusr.org" <gradsusr at gradsusr.org>
Subject: [gradsusr] Valid components of the substitution template for the TIME

Hello everyone,

I am trying to use the %f3 as a substitution component for the forecast hours. However, my forecast time varies from 0024 to 5160 hours and %f3 does not work for more than 3 digits, even though the Grads tutorial says that it works when "more digits added for hours >999; hour values increase indefinitely".

In other words, it works for forecast hours above 1032 hours but does not work for those below.
Has anyone faces this kind of problem and could help me??

My template file is like that:

dset ^./northeast_c3s_ecmwf_20010101_t00z_f%f3_m000_tp.bin
options template
undef   9999.0
title c3s data
xdef 320 linear 310.0000000 0.05
ydef 440 linear -22.0000000 0.05
zdef 1 linear 1 1
tdef 5160 linear 00z01Jan2001 24hr
vars 1
tp 0 99 Total precipitation [m]
endvars

My files are like:
northeast_c3s_ecmwf_20010101_t00z_f0024_m000_tp.bin
northeast_c3s_ecmwf_20010101_t00z_f0048_m000_tp.bin


Thanks in advance
Minella


[Image removed by sender.]<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_sig-2Demail-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Dwebmail&d=DwMFAw&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=M2mFZsxo0ZoztoK2Lyoypu1kKkBVKyEoM9CXGWO42zk&m=RSpUNbOzNo2Hqs3Baku59Q-8-Pbj3ul0aLYyxgyqijw&s=MXZ-NmfJQczIVgjZx08HJIGEiDxOV_dSJ1bB0fymPI0&e=>

Livre de vírus. www.avast.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_sig-2Demail-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Dwebmail&d=DwMFAw&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=M2mFZsxo0ZoztoK2Lyoypu1kKkBVKyEoM9CXGWO42zk&m=RSpUNbOzNo2Hqs3Baku59Q-8-Pbj3ul0aLYyxgyqijw&s=MXZ-NmfJQczIVgjZx08HJIGEiDxOV_dSJ1bB0fymPI0&e=>.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190408/87e8de8a/attachment-0001.html>


More information about the gradsusr mailing list