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

[McIDAS #DPG-164615]: Unable to create GOES image files



Hi Scott,

re:
> So I've continued to do some reading and I've been able to get mcrun.sh
> to run and create a GIF based on the latest GE-VIS image.

Excellent!

re:
> Basically, I'm running this as the ldm user:
> 
> eg.k
> imgdisp.k RTIMAGES/GE-VIS STA=KGSP SF=YES
> map.k SAT FIL=OUTLUSAM
> frmsave.k 1 /glfs0/ldmdata/data/data/latest_gevis.gif TYPE=FRAME FORM=GIF

OK, this would all be inside of a 'mcenv' created environment:

mcenv << EOF
eg.k
imgdisp.k RTIMAGES/GE-VIS STA=KGSP SF=YES
map.k SAT FIL=OUTLUSAM
frmsave.k 1 /glfs0/ldmdata/data/data/latest_gevis.gif TYPE=FRAME FORM=GIF
exit
EOF

re:
> Is there any way to call this mcrun.sh script from the pqact file?

Yes, you could kick off the running of a shell script (e.g., locally modified
copy of 'mcrun.sh' that does what you want to do.  You could kick off the script
immediately after the action that processes a new image (e.g., your 'pnga2area'
invocation).

re:
> I am
> successfully executing the GE-VIS.BAT batch process from the pqact file.
> I tried putting these same commands in GE-VIS.BAT, namely:
> 
> NORTMAPR 9016 %2 9993 N2 NONE 0 9016 MAPAREA=9971 DEV=NNN
> 
> IMGDISP RTIMAGES/GE-VIS 1 STA=KGSP SF=YES
> MAP SAT FIL=OUTLUSAM
> FRMSAVE 1 /glfs0/ldmdata/data/data/latest_gevis.gif TYPE=FRAME FORM=GIF
> 
> This didn't seem to work at all.

A couple of comments:

- I would comment out the NORTMAPR invocation as you are likely not using the
  results of this at all

- I am not sure why the creation of the GIF from the BATCH file is not
  working

  It might be useful to explore why this is failing.

re:
> I really don't want to run mcrun.sh via cron if I can avoid it.

I totally understand.

Now that you have some feeling for how McIDAS commands work (e.g., there needs
to be a McIDAS environment created either explicitly by running 'mcenv' like
in mcrun.sh or when a command is run alone and it causes the creation of the
McIDAS environment; how McIDAS accesses elements from within a defined ADDE
dataset; etc.).

Is it possible to get a login to the machine you are trying to get this working
on?  I could more quickly setup something that works than explain how to do
the same.  We could then discuss what is being done and why.

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: DPG-164615
Department: Support McIDAS
Priority: High
Status: Open
===================
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.



pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy