﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
405	Improve checks on existence etc of $BUFR_TABLES and $BUFR_LIBRARY	Ian Culverwell		"ROPP8.0 beta reviewer Axel von Engeln (EUM) says:
{{{
I just came across another possible problem. I wanted to re-install 
ROPP7 into a local directory, using the already installed libs of 
netCDF, bufr, etc, and it fails since it cannot remove the 
roppbufrcodes.nl file (which we have centrally installed). Not sure 
why this is required. Might be sufficient to just cross check if the 
latest version is there.
}}}

A (tested) partial solution was committed at r4403. But the following logic might be better still:

1) If $BUFR_TABLES or $BUFR_LIBRARY is writable, overwrite '''roppbufrcodes.nl''' with the latest one in the ROPP distribution.

2) If not, but it is readable and contains a '''roppbufrcode.nl''' file, then compare the existing and new (ROPP distro) versions of it and

  a) if they're the same, issue an INFO message to that effect;

  b) if they're different, issue a WARNING message saying that the existing one may not be compatible with the latest value of ROPP.

3) If not, but it is readable and does not contains a '''roppbufrcode.nl''' file, then issue an ERROR saying that ROPP BUFR tools will not work, but continue building the rest of the module.


This has Axel's approval.

Note the overlap with #390.
  "	enhancement	assigned	normal	12.0	ROPP (all)	7.1		BUFR build	
