﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21	PGF Compiler problems with size statement	frae	frae	"The pgf compiler exists with a:

{{{
0: SIZE: invalid dim
}}}

statement when reading a netCDF file with ropp2ropp (also with ropp2bufr). This seems to be caused by statements in 

ropp_io/ncdf/ncdf_getvar.f90

that access an undefined dimension in a variable with size (size(rvalues, i) statement below). 

{{{
  do i = 1, ndims
     status = nf90_inquire_dimension(ncid_local, dimids(i), len = cnts(i))
     if (status /= nf90_noerr) call ncdf_error_handler(status)
     cnts(i) = min(cnts(i), size(rvalues, i))
  enddo
}}}

i is e.g. 2 even though the variable itself is just a vector, since the second dimension is the record (unlimited) one. The answer of size(rvalues, i) depends on the compiler for i>1, some give undefined numbers, some just the found size of the first dimension and the pgf95 does not like it at all.

"	defect	closed	normal		ropp_io	0.8	fixed		axel.vonengeln@… dave.offiler@…
