Page 1 of 2

HYSPLIT does not caculate full length of back trjectory

Posted: May 14th, 2017, 3:44 pm
by 3236
Frequently in batch mode my HYSPLIT4 Last Changed Rev: 460 Last Changed Date: 2013-04-19 09:36:19 -0400 (Fri, 19 Apr 2013)
does not calculate the full length of back trajectories.
Instead of -240 hours less than -100 hours are calculated without indicating any error messages. I generously load met fields that should cover more than the intended time span.
Jost

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 15th, 2017, 9:30 am
by ariel.stein
Please download the latest version of the model and try again.

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 16th, 2017, 5:01 am
by 3236
Thanks for the suggestion
Does the latest version of HYSPLIT run under OS10.6.8?
J

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 16th, 2017, 9:12 am
by ariel.stein
It should run

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 16th, 2017, 2:06 pm
by 3236
Thanks, Ariel,
now HYSPLIT does not allow me to download a new version even though I am a registered user
Sigh!

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 16th, 2017, 2:36 pm
by glenn.rolph
You should be able to download the latest registered or trial version here:

http://www.ready.noaa.gov/hyreg/HYSPLIT_applehysp.php

If your password does not work, you can reset it at:
http://www.ready.noaa.gov/HYSPLIT_register.php

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 16th, 2017, 3:47 pm
by 3236
I tried my "user name": 3236 several times + password
even changed the password
no way

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 16th, 2017, 4:29 pm
by ariel.stein
Please try the trial version.

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 17th, 2017, 5:53 am
by 3236
Hi
I did manage to download the latest trial version of HYSPLIT4
To run it in batch mode for many trajectories I had written FORTRAN code that worked so far but not with the new version
The primary error message is: /Applications/Hysplit4/exec/runhysplit: line 4: 54863 Segmentation fault ./hyts_std > LOGRUN
In my FORTRAN code I could not call HYTS STD directly. Instead I called a shell script that does that.
Then I had put in a loop to wait until HYSPLIT had completed one job:
C CALL SHELL SCRIPT runhysplit THAT STARTS HYTS_STD
CALL SYSTEM ('/Applications/Hysplit4/exec/runhysplit')
C CHECK LOG FILE UNTIL HYTS_STD IS DONE
DO 900 IWAIT = 1, 1000000
OPEN (UNIT=9,FILE='/Applications/Hysplit4/exec/LOGRUN',
1 POSITION=APPEND)
BACKSPACE 9
READ (9,*) COMPLETE
IF (COMPLETE .NE. CTEXT) GOTO 900
CLOSE (9)
GOTO 990
900 CONTINUE
PRINT*, 'HYSPLIT4 DID NOT COMPLETE IN TIME:'
PRINT*, ICASE, LAT, LON, HEIGHT, IYT, IMT, IDT, IHT, RUNTIME
GOTO 999
990 PRINT*, ICASE, LAT, LON, HEIGHT, IYT, IMT, IDT, IHT, RUNTIME
It seems that the secondary error message
? FORTRAN Runtime Error:
? Attempt to read past end of file
? READ(UNIT=9,...
is related to the primary one.
Most grateful for any suggestions
J

Re: HYSPLIT does not caculate full length of back trjectory

Posted: May 17th, 2017, 6:41 am
by glenn.rolph
Your login username of HYSPLIT to download the distribution (not the HYSPLIT Forum) is your email address.