[esp-r] reminder to check your localle before working with ESP-r models!

Jon Hand jon at esru.strath.ac.uk
Thu Jul 8 12:25:23 BST 2010


A sad story - a user had a nice little model and then all of
a sudden it stoped workinig and could not be opened....

And what happened was that the zone geometry file and
the model configuration file had written out real numbers
with a comma for a decimal place.  ESP-r thinks that a
comma separates two numbers and got hopelessly messed
up.  The fault was corrected (in this case) by a global replace
of the commas with a dot for decimal places.

Two things to learn from this....

a) keep a back up copy of your model before you start working on it
   (so you can recover from this kind of change)

b) if you are working in a region of the world that uses something
other than a dot/period for a decimal place you need to reset
your localle while working with ESP-r.

And this is simply because we do not know how to instruct
the input/output format statements (written in fortran) to
treat real numbers in a different way.

Regards, Jon Hand


More information about the esp-r mailing list