returns a file name writable in ${VARAMMA_OD}

Categories:

outputs

Uses:
Params:
name : in, required, type=string

basename of the file to create in ${VARAMMA_OD}/

Keywords:
OVERWRITE : default=false

to overwrite the output image file if exists.

Returns:

filename (dirname and basename) or -1 if error

Restrictions:
  • Requires SAXO
Pre:

varamma_profile.sh

Post:

varamma_profile.sh

Todo:
Examples:

To prepare the production of ${VARAMMA_OD}/figure08.png:

IDL> fullfilename_out=forout('figure08.png',/OVERWRITE)
IDL> print, fullfilename_out
/usr/temp/fplod/varamma_d/figure08.png

If asked an other time without /OVERWRITE, the file is not anymore writable

IDL> fullfilename_out=forout('figure08.png')
IDL> print, fullfilename_out
-1
History: