[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #GXL-741119]: Re: McIDAS #JTG-722928



Hi Justin,

re:
> I gather the Scheduler and CYCLE work independently.

Yes.  The scheduler runs commands.  CYCLE= is a keyword that is pertinent
to the IMGDISP command.

re:
> How would I incorporate both into the command line or would I need to?
> 
> SKE 04/04 0 999999 45:00 "IMGDISP PUB/MTGLOB04I2 1 ALL=1 10 LATLON=14 -128 
> MAG=2 SF=YES REFRESH='EG GRA=(GRA);MAP FILE=OUTVHPOL GRA=(GRA)’; TERM L ON

First, it appears that elements in the PUB/MTGLOB04I2 dataset update every hour:

IMGLIST PUB/MTGLOB04I2.ALL
Image file directory listing for:PUB/MTGLOB04I2
 Pos Satellite/         Date       Time      Center   Band(s)
     sensor                                 Lat  Lon
 --- -------------  ------------  --------  ---- ---- ------------
   1  MTSAT-2        3 APR 15093  10:32:00     0 -145 2
   2  MTSAT-2        3 APR 15093  11:32:00     0 -145 2
   3  MTSAT-2        3 APR 15093  12:32:00     0 -145 2
   4  MTSAT-2        3 APR 15093  13:32:00     0 -145 2
   5  MTSAT-2        3 APR 15093  14:32:00     0 -145 2
   6  MTSAT-2        3 APR 15093  15:32:00     0 -145 2
   7  MTSAT-2        3 APR 15093  16:32:00     0 -145 2
   8  MTSAT-2        3 APR 15093  17:32:00     0 -145 2
   9  MTSAT-2        3 APR 15093  18:32:00     0 -145 2
  10  MTSAT-2        3 APR 15093  19:32:00     0 -145 2
  11  MTSAT-2        3 APR 15093  20:32:00     0 -145 2
  12  MTSAT-2        1 APR 15091  21:32:00     0 -145 2
  13  MTSAT-2        1 APR 15091  22:32:00     0 -145 2
  14  MTSAT-2        1 APR 15091  23:32:00     0 -145 2
  15  MTSAT-2        2 APR 15092  00:32:00     0 -145 2
  16  MTSAT-2        2 APR 15092  01:32:00     0 -145 2
  17  MTSAT-2        2 APR 15092  02:32:00     0 -145 2
  18  MTSAT-2        2 APR 15092  03:32:00     0 -145 2
  19  MTSAT-2        2 APR 15092  04:32:00     0 -145 2
  20  MTSAT-2        2 APR 15092  05:32:00     0 -145 2
  21  MTSAT-2        2 APR 15092  06:32:00     0 -145 2
  22  MTSAT-2        2 APR 15092  07:32:00     0 -145 2
  23  MTSAT-2        2 APR 15092  08:32:00     0 -145 2
  24  MTSAT-2        2 APR 15092  09:32:00     0 -145 2
  25  MTSAT-2        2 APR 15092  10:32:00     0 -145 2
  26  MTSAT-2        2 APR 15092  11:32:00     0 -145 2
  27  MTSAT-2        2 APR 15092  12:32:00     0 -145 2
  28  MTSAT-2        2 APR 15092  13:32:00     0 -145 2
  29  MTSAT-2        2 APR 15092  14:32:00     0 -145 2
  30  MTSAT-2        2 APR 15092  15:32:00     0 -145 2
  31  MTSAT-2        2 APR 15092  16:32:00     0 -145 2
  32  MTSAT-2        2 APR 15092  17:32:00     0 -145 2
  33  MTSAT-2        2 APR 15092  18:32:00     0 -145 2
  34  MTSAT-2        2 APR 15092  19:32:00     0 -145 2
  35  MTSAT-2        2 APR 15092  20:32:00     0 -145 2
  36  MTSAT-2        2 APR 15092  21:32:00     0 -145 2
  37  MTSAT-2        2 APR 15092  22:32:00     0 -145 2
  38  MTSAT-2        2 APR 15092  23:32:00     0 -145 2
  39  MTSAT-2        3 APR 15093  00:32:00     0 -145 2
  40  MTSAT-2        3 APR 15093  01:32:00     0 -145 2
  41  MTSAT-2        3 APR 15093  02:32:00     0 -145 2
  42  MTSAT-2        3 APR 15093  03:32:00     0 -145 2
  43  MTSAT-2        3 APR 15093  04:32:00     0 -145 2
  44  MTSAT-2        3 APR 15093  05:32:00     0 -145 2
  45  MTSAT-2        3 APR 15093  06:32:00     0 -145 2
  46  MTSAT-2        3 APR 15093  07:32:00     0 -145 2
  47  MTSAT-2        3 APR 15093  08:32:00     0 -145 2
  48  MTSAT-2        3 APR 15093  09:32:00     0 -145 2
IMGLIST: done

Give this, I would set the interval for running IMGDISP at one hour, not
45 minutes.

The next thing you may want to try to ascertain is when the new image
is actually made available in the dataset.  Note that this in not likely
to be the image time; you would have to keep an eye on when a new image
shows up and add a few minutes to the minute and then setup the time
in your SKE command.

Now, how to incorporate CYCLE into IMGDISP command you want to run
from a scheduler entry.  This should work:

SKE 04/04 0 999999 1:00 "IMGDISP PUB/MTGLOB04I2 CYCLE=1 1 10 00:45 LATLON=14 
-128 MAG=2 SF=YES EU=IRLONG REFRESH='EG GRA=(GRA);MAP FILE=OUTVHPOL GRA=(GRA)'

But, it seems more likely that what you want is:

SKE 04/04 0 999999 1:00 "IMGDISP PUB/MTGLOB04I2 SEQ=1 10 LATLON=14 -128 MAG=2 
SF=YES EU=IRLONG REFRESH='EG GRA=(GRA);MAP FILE=OUTVHPOL GRA=(GRA)'

The IMGDISP invocation using SEQ= should update the frame with the oldest image 
with the
new image.  It will not update any frame is the newest image is already 
displayed,
and because of this, you could run the scheduler command more frequently than 
once
per hour if the time that new images are added to the dataset is not consistent.

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: GXL-741119
Department: Support McIDAS
Priority: Normal
Status: Closed