[esp-r] Re: Selecting another weather file from within bps
Andrew Cowie
andrew.cowie at strath.ac.uk
Fri Apr 5 12:31:23 BST 2019
Hi Christopher,
This problem appears to be due to an oversight in some recent developments to ESP-r - thanks for bringing it to our attention!
I'll make sure the fix is included in the next update. In the mean time, if you want an immediate solution, instructions for fixing the problem follow:
1. In the ESP-r source code, open file "src/ebps/bps.F".
2. Replace line 1060, which currently reads:
call EFORTRAN(ICLIM,llclmdb,MCM*24,0,IER)
with this:
call CLMOPB(0,IER)
3. Replace lines 1062 - 1066, which currently read:
IREC=366
READ(ICLIM,REC=IREC,IOSTAT=ISTAT,ERR=103)ICYEAR,ICDNGH
IREC=367
READ(ICLIM,REC=IREC,IOSTAT=ISTAT,ERR=103)CLMLOC
WRITE(OUTS,1000)CLMLOC,ICYEAR
with this:
CALL CLMRDBMD(IER)
WRITE(OUTS,1000)CFLOC,ICYEAR
4. Recompile bps (at a Unix command line, issue command "./Install [any desired options] bps" from the ESP-r source code root directory).
Hope this helps,
Andy Cowie
-----Original Message-----
From: esp-r-bounces at lists.strath.ac.uk [mailto:esp-r-bounces at lists.strath.ac.uk] On Behalf Of Christopher Heard
Sent: 04 April 2019 22:54
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Selecting another weather file from within bps
I am finding that if I try to select a different weather file from within bps it says that there is a problem with the file. However if I select the same file from within prj, save the project and then run the simulation, the simulation is carried out without any problems.
Since I would like to do a number of simulations with nearly 500 different weather files, it would be easier if they could be selected from within bps.
This behaviour is with both the graphical interface and the text based one.
Any ideas? Is it likely that the problem resides with bps as it happens whether I specify a weather file from the original set of files that come with the program or the files that I have added to the database (With the corresponding entries in climatelist)?
The weather files load and display things like a frequency bar chart in the synoptic analysis in clm without a problem.
Christopher Heard
_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk
http://lists.strath.ac.uk/mailman/listinfo/esp-r
More information about the esp-r
mailing list