[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[LDM #JEK-162128]: Using scour with grbfile.sh
- Subject: [LDM #JEK-162128]: Using scour with grbfile.sh
- Date: Thu, 11 Oct 2018 14:58:17 -0600
Hi Carol,
re:
> Excellent! Thanks so much! I'm going to use scourBYday scripts to keep 14
> days of GOES-16 on typhoon.
Sounds good.
re:
> Do I need to edit anything in the scourBYday script? Like lines 170 and
> 171? Or are those arguments set in the cron tab entry?
Lines 170 and 171 setup defaults for the directory hierarchy to be
scoured and the number of days to keep, respectively. I always try
to provide defaults that can be overridden by user-specified values
on the invocation command line.
re:
> So I could just run
> the following and it would descend into the proper directories looking for
> the YYYYMMDD directories.
>
> 00 19 * * * util/scourBYday /data/ldm/pub/native/satellite
> 14 >/dev/null 2>&1
Yes. In fact, I would try running this by hand so you can see the output
from scourBYday:
<as 'ldm'>
cd ~ldm
util/scourBYday /data/ldm/pub/native/satellite 14
re:
> Thanks for the comments on where to find tclsh in mcidas. I reset that to
> the correct path at the top of scourBYday.
Excellent!
re:
> typhoon's clock is set to MDT as well, so I can run the script at 19 UTC.
OK, sounds like you can use the exact same crontab entries that we are
using. That should make things simple for both of us :-)
Cheers,
Tom
--
****************************************************************************
Unidata User Support UCAR Unidata Program
(303) 497-8642 P.O. Box 3000
address@hidden Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage http://www.unidata.ucar.edu
****************************************************************************
Ticket Details
===================
Ticket ID: JEK-162128
Department: Support IDD
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.