MKGONG(1)



NAME

     mkgong - make and optionally run a gong pipe map file


SYNOPSIS

     mkgong [-m] [-Oname] input_dir day_number gong_site


DESCRIPTION

     mkgong is a perl script that will build a pe map file to run
     mmli_svc  (map  making  language  interpreter  server)  with
     appropriate parameters according to the input directory, day
     number  (e.g. 941030) and gong site (e.g. fevci) given. This
     map file will then be executed to  run  the  mmli_svc  which
     will generate a gong pipe map file from the mml in the data-
     base             for             the              dataseries
     prog:gongdata,level:lev1.5,series:gong_v. This gong pipe map
     file is then optionally executed. The  gong  map  file  runs
     through to the lnu server.

     mkgong lives in /home/soi/CM/script.



OPTIONS

     -m   Make but do not run the gong pipe map file.

     -Oname
          The Oracle database to use. The default is mdi_1X.


EXAMPLES

     csh>  mkgong  /scr24/phil/gongdata/velocity   941030   fevci
     t_first      =      1994.10.30_14:00:00_UT      t_last     =
     1994.10.30_23:00:00_UT      mmli      map       file       =
     /tmp/map.mmli.gong.950728_163005  I'm now running pe to gen-
     erate the gong map file

     pe   -v    db=mdi_1X    map=/tmp/map.mmli.gong.950728_163005
     dsds_svc  tid=4042c  currently running for db=mdi_1X This is
     the  version  of  pe  without  the  lago/ampex_svc  mmli_svc
     tid=47000  spawned  on  tarax.Stanford.EDU  Registered  with
     dsds_svc  as  uid=16989  Allocated  1.04858e+06  bytes  from
     dsds_svc wd=/PDS0/D16989
         tarax.Stanford.EDU mmli_svc 47000 complete:
         /PDS0/D16989/maps/sched/gong/job.map  Archive   pending:
     wd=/PDS0/D16989/maps/sched/gong    bytes=16896   Deallocated
     1.03168e+06 bytes with dsds_svc Deregistered  with  dsds_svc
     as uid=16989 PE Normal Completion

     I'm now running pe to execute the gong map file

     pe  -v  db=mdi_1X   map=/PDS0/D16989/maps/sched/gong/job.map
     dsds_svc  tid=4042c  currently running for db=mdi_1X This is
     the version of pe without the lago/ampex_svc  gongimport_svc
     tid=4700e   spawned  on  tarax.Stanford.EDU  gather_info_svc
     tid=4700f  spawned  on  tarax.Stanford.EDU   gather_info_svc
     tid=47010   spawned   on   tarax.Stanford.EDU  stats_vds_svc
     tid=47011 spawned  on  tarax.Stanford.EDU  vds_keyvector_svc
     tid=47012    spawned   on   tarax.Stanford.EDU   v2helio_svc
     tid=47013  spawned  on   tarax.Stanford.EDU   helio2mlat_svc
     tid=47014   spawned   on   tarax.Stanford.EDU   qdotprod_svc
     tid=47015  spawned   on   tarax.Stanford.EDU   stats_vds_svc
     tid=47016  spawned  on  tarax.Stanford.EDU vds_keyvector_svc
     tid=47017 spawned on tarax.Stanford.EDU retile_svc tid=47018
     spawned  on  tarax.Stanford.EDU lnu_svc tid=47019 spawned on
     tarax.Stanford.EDU    lnu_svc    tid=4701a    spawned     on
     tarax.Stanford.EDU     lnu_svc    tid=4701b    spawned    on
     tarax.Stanford.EDU Registered  with  dsds_svc  as  uid=16991
     Allocated 6.29146e+08 bytes from dsds_svc wd=/PDS0/D16991
         tarax.Stanford.EDU gongimport_svc 4700e complete:
         no_file                 Archive                 pending:
     wd=/PDS0/D16991/lev1/fevci/19941030        bytes=1.34814e+08
     tarax.Stanford.EDU gather_info_svc sent:
       in=prog:gongdata,level:lev1,series:fevci[19941030]
         tarax.Stanford.EDU gather_info_svc 4700f complete:
         no_file                 Archive                 pending:
     wd=/PDS0/D16991/lev1.5/gong_v/14  bytes=3.36845e+06  Archive
     pending: wd=/PDS0/D16991/lev1.5/gong_v/15  bytes=7.58272e+06
     Archive       pending:      wd=/PDS0/D16991/lev1.5/gong_v/16
     bytes=7.58272e+06              Archive              pending:
     wd=/PDS0/D16991/lev1.5/gong_v/17  bytes=7.58272e+06  Archive
     pending: wd=/PDS0/D16991/lev1.5/gong_v/18  bytes=7.58272e+06
     Archive       pending:      wd=/PDS0/D16991/lev1.5/gong_v/19
     bytes=7.58272e+06              Archive              pending:
     wd=/PDS0/D16991/lev1.5/gong_v/20  bytes=7.58272e+06  Archive
     pending: wd=/PDS0/D16991/lev1.5/gong_v/21  bytes=7.58272e+06
     Archive       pending:      wd=/PDS0/D16991/lev1.5/gong_v/22
     bytes=7.58272e+06              Archive              pending:
     wd=/PDS0/D16991/lev1.5/gong_v/23           bytes=5.22803e+06
     tarax.Stanford.EDU gather_info_svc sent:
       in=prog:gongdata,level:lev1.5,series:gong_v[14-23]
         tarax.Stanford.EDU gather_info_svc 47010 complete:
         no_file Archive pending:  wd=/PDS0/D16991/qual/gonglog/1
     bytes=78848 tarax.Stanford.EDU stats_vds_svc sent:
       in=prog:gongdata,level:lev1.5,series:gong_v[14-23]
         tarax.Stanford.EDU stats_vds_svc 47011 complete:
         no_file tarax.Stanford.EDU vds_keyvector_svc sent:
       in=prog:gongdata,level:lev1.5,series:gong_v[14-23]
         tarax.Stanford.EDU vds_keyvector_svc 47012 complete:
         no_file                 Archive                 pending:
     wd=/PDS0/D16991/qual/import_datamean/1           bytes=42496
     tarax.Stanford.EDU v2helio_svc sent:
       in=prog:gongdata,level:lev1.5,series:gong_v[14-23]
         tarax.Stanford.EDU v2helio_svc 47013 complete:
         <NONE>                 Archive                  pending:
     wd=/PDS0/D16991/lev2/V_heliomap_01h/14     bytes=1.03936e+07
     Archive   pending:    wd=/PDS0/D16991/lev2/V_heliomap_01h/15
     bytes=2.39212e+07              Archive              pending:
     wd=/PDS0/D16991/lev2/V_heliomap_01h/16     bytes=2.39212e+07
     Archive    pending:   wd=/PDS0/D16991/lev2/V_heliomap_01h/17
     bytes=2.39212e+07              Archive              pending:
     wd=/PDS0/D16991/lev2/V_heliomap_01h/18     bytes=2.39212e+07
     Archive   pending:    wd=/PDS0/D16991/lev2/V_heliomap_01h/19
     bytes=2.39212e+07              Archive              pending:
     wd=/PDS0/D16991/lev2/V_heliomap_01h/20     bytes=2.39212e+07
     Archive    pending:   wd=/PDS0/D16991/lev2/V_heliomap_01h/21
     bytes=2.39212e+07              Archive              pending:
     wd=/PDS0/D16991/lev2/V_heliomap_01h/22     bytes=2.39212e+07
     Archive   pending:    wd=/PDS0/D16991/lev2/V_heliomap_01h/23
     bytes=1.63564e+07 tarax.Stanford.EDU helio2mlat_svc sent:
       in=prog:gongdata,level:lev2,series:V_heliomap_01h[14-23]
         tarax.Stanford.EDU helio2mlat_svc 47014 complete:
         <NONE>                 Archive                  pending:
     wd=/PDS0/D16991/lev2/V_mlat_01h/14 bytes=2.97114e+06 Archive
     pending:                  wd=/PDS0/D16991/lev2/V_mlat_01h/15
     bytes=6.80192e+06              Archive              pending:
     wd=/PDS0/D16991/lev2/V_mlat_01h/16 bytes=6.80192e+06 Archive
     pending:                  wd=/PDS0/D16991/lev2/V_mlat_01h/17
     bytes=6.80192e+06              Archive              pending:
     wd=/PDS0/D16991/lev2/V_mlat_01h/18 bytes=6.80192e+06 Archive
     pending:                  wd=/PDS0/D16991/lev2/V_mlat_01h/19
     bytes=6.80192e+06              Archive              pending:
     wd=/PDS0/D16991/lev2/V_mlat_01h/20 bytes=6.80192e+06 Archive
     pending:                  wd=/PDS0/D16991/lev2/V_mlat_01h/21
     bytes=6.80192e+06              Archive              pending:
     wd=/PDS0/D16991/lev2/V_mlat_01h/22 bytes=6.80192e+06 Archive
     pending:                  wd=/PDS0/D16991/lev2/V_mlat_01h/23
     bytes=4.65818e+06 tarax.Stanford.EDU qdotprod_svc sent:
       in=prog:gongdata,level:lev2,series:V_mlat_01h[14-23]
         tarax.Stanford.EDU qdotprod_svc 47015 complete:
         <NONE>  Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_0-
     49_01h/14         bytes=84992        Archive        pending:
     wd=/PDS0/D16991/lev2/V_pox_0-49_01h/15 bytes=103424  Archive
     pending: wd=/PDS0/D16991/lev2/V_pox_0-49_01h/16 bytes=103424
     Archive   pending:    wd=/PDS0/D16991/lev2/V_pox_0-49_01h/17
     bytes=103424  Archive pending: wd=/PDS0/D16991/lev2/V_pox_0-
     49_01h/18        bytes=103424        Archive        pending:
     wd=/PDS0/D16991/lev2/V_pox_0-49_01h/19  bytes=103424 Archive
     pending: wd=/PDS0/D16991/lev2/V_pox_0-49_01h/20 bytes=103424
     Archive    pending:   wd=/PDS0/D16991/lev2/V_pox_0-49_01h/21
     bytes=103424 Archive pending:  wd=/PDS0/D16991/lev2/V_pox_0-
     49_01h/22        bytes=103424        Archive        pending:
     wd=/PDS0/D16991/lev2/V_pox_0-49_01h/23 bytes=103424  Archive
     pending: wd=/PDS0/D16991/lev2/V_pox_50-99_01h/14 bytes=84992
     Archive   pending:   wd=/PDS0/D16991/lev2/V_pox_50-99_01h/15
     bytes=94720  Archive pending: wd=/PDS0/D16991/lev2/V_pox_50-
     99_01h/16        bytes=94720        Archive         pending:
     wd=/PDS0/D16991/lev2/V_pox_50-99_01h/17  bytes=94720 Archive
     pending: wd=/PDS0/D16991/lev2/V_pox_50-99_01h/18 bytes=94720
     Archive   pending:   wd=/PDS0/D16991/lev2/V_pox_50-99_01h/19
     bytes=94720 Archive pending:  wd=/PDS0/D16991/lev2/V_pox_50-
     99_01h/20         bytes=94720        Archive        pending:
     wd=/PDS0/D16991/lev2/V_pox_50-99_01h/21 bytes=94720  Archive
     pending: wd=/PDS0/D16991/lev2/V_pox_50-99_01h/22 bytes=94720
     Archive   pending:   wd=/PDS0/D16991/lev2/V_pox_50-99_01h/23
     bytes=94720                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_100-149_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_100-149_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_100-149_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_100-149_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_100-149_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_100-149_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_100-149_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_100-149_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_100-149_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_100-149_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_150-199_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_150-199_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_150-199_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_150-199_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_150-199_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_150-199_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_150-199_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_150-199_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_150-199_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_150-199_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_200-249_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_200-249_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_200-249_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_200-249_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_200-249_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_200-249_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_200-249_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_200-249_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_200-249_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_200-249_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_250-299_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_250-299_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_250-299_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_250-299_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_250-299_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_250-299_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_250-299_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_250-299_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_250-299_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_250-299_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_300-349_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_300-349_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_300-349_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_300-349_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_300-349_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_300-349_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_300-349_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_300-349_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_300-349_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_300-349_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_350-399_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_350-399_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_350-399_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_350-399_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_350-399_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_350-399_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_350-399_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_350-399_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_350-399_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_350-399_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_400-449_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_400-449_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_400-449_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_400-449_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_400-449_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_400-449_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_400-449_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_400-449_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_400-449_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_400-449_01h/23
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_450-499_01h/14        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_450-499_01h/15
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_450-499_01h/16        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_450-499_01h/17
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_450-499_01h/18        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_450-499_01h/19
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_450-499_01h/20        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_450-499_01h/21
     bytes=84992                 Archive                 pending:
     wd=/PDS0/D16991/lev2/V_pox_450-499_01h/22        bytes=84992
     Archive  pending:  wd=/PDS0/D16991/lev2/V_pox_450-499_01h/23
     bytes=84992 tarax.Stanford.EDU stats_vds_svc sent:
       in=prog:gongdata,level:lev2,series:V_heliomap_01h[14-23]
         tarax.Stanford.EDU stats_vds_svc 47016 complete:
         no_file tarax.Stanford.EDU vds_keyvector_svc sent:
       in=prog:gongdata,level:lev2,series:V_heliomap_01h[14-23]
         tarax.Stanford.EDU vds_keyvector_svc 47017 complete:
         no_file                 Archive                 pending:
     wd=/PDS0/D16991/qual/remap_datamean/1            bytes=48640
     tarax.Stanford.EDU retile_svc sent:
       in=prog:gongdata,level:lev2,series:V_pox_0-49_01h[14-
     23];prog:gongdata,level:lev2,series:V_pox_50-99_01h[14-
     23];prog:gongdata,level:lev2,series:V_pox_100-149_01h[14-
     23];prog:gongdata,level:lev2,series:V_pox_150-199_01h[14-
     23];prog:gongdata,level:lev2,series:V_pox_200-
     249_01h[14-23];prog:gongdata,level:lev2,series:V_pox_250-299_01h[14-23];prog:gongdata,level:lev2,series:V_pox_300-349_01h[14-23];prog:gongdata,level:lev2,series:V_pox_350-399_01h[14-23];prog:gongdata,level:lev2,series:V_pox_400-449_01h[14-23];prog:gongdata,level:lev2<=
         tarax.Stanford.EDU retile_svc 47018 complete:
         no_file  Archive  pending:  wd=/PDS0/D16991/sht/V_pox_0-
     49_12h/1       bytes=7.46547e+06       Archive      pending:
     wd=/PDS0/D16991/sht/V_pox_50-99_12h/1  bytes=112128  Archive
     pending:             wd=/PDS0/D16991/sht/V_pox_100-149_12h/1
     bytes=112128                Archive                 pending:
     wd=/PDS0/D16991/sht/V_pox_150-199_12h/1 bytes=112128 Archive
     pending:             wd=/PDS0/D16991/sht/V_pox_200-249_12h/1
     bytes=112128                 Archive                pending:
     wd=/PDS0/D16991/sht/V_pox_250-299_12h/1 bytes=112128 Archive
     pending:             wd=/PDS0/D16991/sht/V_pox_300-349_12h/1
     bytes=112128                Archive                 pending:
     wd=/PDS0/D16991/sht/V_pox_350-399_12h/1 bytes=112128 Archive
     pending:             wd=/PDS0/D16991/sht/V_pox_400-449_12h/1
     bytes=112128                 Archive                pending:
     wd=/PDS0/D16991/sht/V_pox_450-499_12h/1         bytes=112128
     tarax.Stanford.EDU lnu_svc sent:
       in=prog:gongdata,level:sht,series:V_pox_0-49_12h[1-
     1];prog:gongdata,level:sht,series:V_pox_50-99_12h[1-
     1];prog:gongdata,level:sht,series:V_pox_100-149_12h[1-
     1];prog:gongdata,level:sht,series:V_pox_150-199_12h[1-
     1];prog:gongdata,level:sht,series:V_pox_200-
     249_12h[1-1];prog:gongdata,level:sht,series:V_pox_250-299_12h[1-1];prog:gongdata,level:sht,series:V_pox_300-349_12h[1-1];prog:gongdata,level:sht,series:V_pox_350-399_12h[1-1];prog:gongdata,level:sht,series:V_pox_400-449_12h[1-1];prog:gongdata,level:sht,series:V_pox_450-499_12h[1-<=
         lnu_svc 47019 status 12346  on  tarax.Stanford.EDU:  see
     soi_error.h
         Module indicated an abort. See /tmp/lnu_47019.log  Abort
     in progress ...  Deallocated 1.27512e+08 bytes with dsds_svc
     Deregistered with dsds_svc as uid=16991 Killing all  servers
     and aborting

     The pe run of the gong map file produced an error


BUGS


AUTHOR

     Jim Aloise


HISTORY

     1995-07-31     SOI Version 1.0.2