Opened 23 months ago

Last modified 22 months ago

#204 accepted Defect

namelist input for RELEASES needs more checking

Reported by: pesei Owned by: pesei
Priority: major Milestone: FLEXPART 10
Component: FP coding/compilation Version: FLEXPART 10.0
Keywords: Cc:


If a RELEASES file in namelist format does not contain MASS for all species, it will not be properly initalised (compiler may set it to 0.).

This is different from standard RELEASES files where a read error would occur. Therefore, this conditions should be identified and a WARNING should be produced (maybe even an ERROR, as one would not normally want to use zero mass).

Change History (2)

comment:1 Changed 23 months ago by pesei

I am now initialising the namelist variable with -1. instead of 0., and later check on values <0. In this case, the run is stopped with an explanatory error message.

In this way it is still possible to use values of 0. (if for some reason it would be desired), but mistakenly forgetting to specify something is excluded.

comment:2 Changed 22 months ago by pesei

  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.
hosted by ZAMG