<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>GOOD MORNING EVERYONE:<br><br>I've simulated global data using a regional climate model.. The output it generates is in netcdf format. The output file contains four variables which are :-<br>1. Latitude (xlat)<br>2. Longitude (xlon)<br>3. Temperature (temp)<br>4. Precipitation (ppt)<br><br><b>Now how can I generate, using fprintf or any other way, a single file that contains a template as shown below:- (FOR EXAMPLE)</b><br><br><b><u>LATITUDE </u> <u>LONGITUDE</u> <u>TEMPERATURE</u> <u>PRECIPITATION</u></b><br><br> 23 60 23 10mm<br> 23.5 60.5 26 26mm<br> . . . .<br> . . . .<br> . . . .<br><br>A format like above or anything similar to it will work. Please give an example<br><br>Any help will be appreciated...<br><br><br><br><br><br><b>Best regards<br><br>Uzair Mannan<br>Cell: +923323489950<br>NED University of Engineering & Technology</b><br><b>Karachi, Pakistan<br><br></b>                                            </div></body>
</html>