﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
216	Backslash escapes	Dave Offiler	Dave Offiler	"Torben Schmidt (GFZ) reports that v4.0 gfz2ropp tool crashes
when converting TerraSAR-X and GRACE-A native files to ROPP netCDF. He found the problem to be: 
{{{
removing ""\n"" in line 595 of gfz2ropp.f90 has solved the problem.

With the following function call

CALL message ( msg_info, ""Writing "" // TRIM(opfile) ) the program is running without problems
}}}

He is compiling with gfortran, so I've suggested trying the
-fbackslah option. As we have successfully tested this tool with gfortran 'out of the box' on both MetO RHEL4 and personal OpenSUSE and Cygwin without explicitly setting this flag, this is a bit
of a mystery. Need to check with Torsten which version of gfortran
he's using - may be for new versions (v4.4.x) like ours, -fbackslash is default but for his is not (TBC).

In any case, '\n' or any similar escape sequences are rather foreign to F90 so we should review whether simple newlines can
be passed to ropp_message by some alternative flag, or just break the message into multiple subroutine calls. 

This problem can potentially affect any ROPP code using the message routines, so needs to be reviewed as a general issue.
"	task	closed	normal	5.0	ROPP (all)	4.0	fixed	backslash, \n, GFZ, gfortran	
