[esp-r] Re: Error with climate module/file...
Jon Hand
jon at esru.strath.ac.uk
Mon Jun 29 11:21:19 BST 2009
Climate files on 32 bit Linux machines will have a size of 211400 for the binary version.
If your file is a very different file size it might be corrupted. There is a function
to export a text version of the climate file and there is a function in the clm module
to import a ASCII version of a climate file to create a new binary file. If you
were to attempt to export this file to ASCII you could look at the data in the
file.
It is not clear from the message whether you were able to do anything with
this climate file. The fault seems to be in the drawing of the phychrometric
chart. That is one specific function. If you were able to get any other reports
or graphics on the file then the climate file itself is probably ok and the
fault is specific to clmpsychart.F
-Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] On Behalf Of Paulo Tavares [ptavares at mail.isec.pt]
Sent: 29 June 2009 10:33
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Error with climate module/file...
Hi all.
Sorry for boring you again, but i can´t solve the problem with climate files... I´m testing a climate file that was used by another ESP-r user with no problems (in pre-compiled version 11.6). When i try to open the file this error occurs (it is the same with other files... - this message is to dundee80 file):
paulo at paulo-laptop:~$ esp-r
paulo at paulo-laptop:~$ askdialog FILEN:/home/paulo/teste_modelo/teste_modelo.cfg
working pressure coef /usr/esru90/esp-r/databases/pressc.db1
espokbox selected id iw 2 1
Starting clm in mode graphic with file /usr/esru90/esp-r/climate/dundee80
and action NONE in interactive mode.
using/making file UNKNOWN
askdialog FILEN:/usr/esru90/esp-r/climate/dundee80
At line 420 of file clmpsychart.F
Fortran runtime error: End of record
At line 2615 of file esru_libGTK.F
Fortran runtime error: End of record
Because i try to explore the file i think the problem is with the climate module... Or could be with the file?
Marco Manzan said:
no I don't think it is due to the same problem, at line 2615 a message is
written to a character string "prompt" and the error means that the lenght of
the strin,g 144 characters, is not enough to contain the information. Pheraps
your directory tree or the names are so long that the message is too long.
you can try to modify the length of "prompt" variable at line 2558 or to
shorten file names.
hope this helps
Marco
But the error continues...
Do you think that this is a problem with the compilers? I'm using version 11.7 (and the compilers are g++ v 4.3.1; gcc v 4.3.1-1ubunbtu2; gfortran v 4.3.1).
Please i appreciate very much any kind of help... With this error i can´t continue building my model...
Regards,
Paulo Tavares
More information about the esp-r
mailing list