Opened 2 years ago

Last modified 2 months ago

#204 accepted Defect

namelist input for RELEASES needs more checking

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

Description

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 (3)

comment:1 Changed 2 years 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 2 years ago by pesei

  • Status changed from new to accepted

comment:3 Changed 2 months ago by pesei

  • Priority changed from major to critical

has not entered the branch master, therefore increase priority so it is not overlooked.

Note: See TracTickets for help on using tickets.
hosted by ZAMG