[Thread Prev][Thread Next][Index]
Re: [ferret_users] Repeat/range/name=format ?
Aleksander,
You need to use the ZW keyword in your embedded expression if you want leading zeros.
So instead of
set dat "iceh.`day`.nc"
use
set dat "iceh.`day,zw=3`.nc"
See
http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/variables-xpressions/EMBEDDED-XPRESSIONS#_VPID_184
For more information.
Cheers,
Russ
On Monday 05 September 2011 20:38, alek.borowski IOPAN wrote:
> Dear Ferreters,
> I am trying to use command [repeat/range=1:365/name=day (set dat "iceh.`day`.nc";] and I'd like to give format for name variable like: 001,002,..,010. I dont know how.
> Thanks in advance for your answer and ideas,
> Aleksander
>
>
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement