Page 1 of 1

Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:30 pm
by l_gillespie
After selecting the measurements file in step 1, when I press EXECUTE for Step 2: Create all the CONTROL files, nothing happens. The files do not appear in my working directory.

I am using the pre-compiled Linux version, 5.1.

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:36 pm
by alicec
can you try executing the bash script and see if that works?

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:40 pm
by l_gillespie
You'll have to forgive me, but I don't know which script you're referring to. It's not in the help documentation.

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:44 pm
by alicec
In the tutorial, if you click on the Penguin Icon at the top menu bar it will bring you to a bash script.
Also you can find the scripts in the Tutorial_2021/bash folder.
The one for section 6.4 is called traj_geol.sh

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:48 pm
by l_gillespie
This is the output I get.

Code: Select all

(base) lawson@lawson-office-desktop:~/hysplit.v5.1.0_UbuntuOS20.04.2LTS/scripts$ bash traj_geol.sh 
traj_geol.sh: line 6: cd: /home/lawson/hysplit/working: No such file or directory
### traj_geol.sh ###
traj_geol.sh: line 34: /home/lawson/hysplit/exec/dat2cntl: No such file or directory
ls: cannot access 'gdump*': No such file or directory
traj_geol.sh: line 45: /home/lawson/hysplit/exec/trajfreq: No such file or directory
traj_geol.sh: line 52: /home/lawson/hysplit/exec/concplot: No such file or directory
GPL Ghostscript 9.50 (2019-10-15)
Copyright (C) 2019 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Error: /undefinedfilename in (concplot.ps)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:727/1123(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
I suspect renaming my HYSPLIT directory might help.

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:52 pm
by alicec
Yes - just edit the lines defining MDL, MET and OUT to point to the right directories.

MDL is where your hysplit installation is.
MET is where the meteorological data is
OUT is working directory

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 4:58 pm
by christopher.loughner
Or place the HYSPLIT directory here: ${HOME}/hysplit
and the tutorial directory here: ${HOME}/Tutorial
so you won't have to edit those lines in every bash script in the tutorial.

Re: Unable to generate Control Files for Geolocation in GUI

Posted: June 15th, 2021, 5:10 pm
by l_gillespie
I was able to get things working, I made appropriately named links in my home directory. Thanks!