﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
657	ucar2ropp unable to process sonPrf files	Ian Culverwell	Ian Culverwell	"Helpdesk enquiry 400 (http://www.romsaf.org/view_admin_enquiry.php?id=400) has revealed that the ROPP tool '''ucar2ropp''' cannot process 'sonPrf' files, which it claims to be able to do, because the global attributes {{{lon}}} and {{{lat}}} are strings rather than numbers (why?), as they are for the other file types such as atmPrf. The key lines below appear in Sec 6.6 ('Georeferencing') of '''ropp_io/ropp/ropp_
ropp_io/ropp/ropp_io_read_ncdf_get.f90''':
{{{
CALL ncdf_getatt('lat', data%georef%lat)
data%georef%units%lat = ""degrees_north""

CALL ncdf_getatt('lon', data%georef%lon)
data%georef%units%lon = ""degrees_east""
}}}
Changing these to
{{{
CALL ncdf_getatt('lat', readstr)
READ(readstr, *) data%georef%lat
data%georef%units%lat = ""degrees_north""

CALL ncdf_getatt('lon', readstr)
READ(readstr, *) data%georef%lon
data%georef%units%lon = ""degrees_east""
}}}
allows '''ucar2ropp''' to read sonPrf files, but obviously prevents it from reading other types of file.  Something that can handle both is clearly needed.
"	task	closed	normal	10.0	ropp_io	9.0	fixed	sonPrf, ucar2ropp	
