Re: Missing GFLAS-created file

From: Mary Haley (haley AT unknown)
Date: Tue May 29 2001 - 22:36:02 MDT

  • Next message: Bernard Miville : "Log Y-Axis"

    >
    > Greetings. Using Fortran NCARG calls, I am trying to create a stored
    > file of plot commands that I can recall at a later time in _another_
    > ploting run (the stored file will consist of topography to be overlaid
    > onto plots generated later). I am attempting to use the GKS "GFLAS"
    > flash routines to do this, with the attached code outline illustrating
    > the process. The GFLAS1 and GFLAS2 routines seem to work, in that
    > when activated the LLU plot segment disappear from the NCGM file. And
    > they can be recalled within the program using the GFLAS3 command, with
    > the plot then appearing just as it did with no GFLAS calls included.
    >
    > BUT - according to the GFLAS documentation the plot commands following
    > GFLAS1 are supposed to be written to a new file GNFB01 created on the
    > current directory (so that they can later be read using the GFLAS4
    > routine), but I can find no such file or any newly created file on
    > that directory or elsewhere. Does anyone know whether such a file is
    > actually being created, per the documentation, and if so where it
    > might be?
    >
    > Jack

    Dear Jack,

    The Gflash documentation needs to be updated. The files that it
    creates start with "GSEG" and not "GNFB". These files are written to
    whatever path the command "ncargpath tmp" reports (most likely
    "/tmp").

    By default, however, these segment files are deleted after WISS is
    closed. You need to set the Ngmisc parameter "SS" to something other
    than the default value of 1 to cause the segments *not* to be deleted.
    For example, you can add the following to your code segment:

    *** activate WISS
            CALL GOPWK(9,1,3)

    *** Don't delete segment files
            CALL NGSETI('SS',0)

    *** start storage of llu plot commands
            CALL GFLAS1 (1)

    In addition, if you want to change the location and/or the root string
    used for the segment files, you can set the Ngmisc parameter "SE".
    For example, if you have:

            CALL GOPWK(9,1,3)
            CALL NGSETI('SS',0)
            CALL NGSETC('SE','GNFB')

    Then your segment files will be written to your current working directory,
    with the prefix "GNFB".

    For more information on these and other Ngmisc parameters, please see
    the man page for ngmisc_params.

    We will update the Gflash documentation as soon as possible.

    Cheers,

    --Mary Haley
      haley AT unknown



    This archive was generated by hypermail 2b29 : Tue May 29 2001 - 22:49:51 MDT