<div dir="ltr">Raj,<br><br>The short answer is no.  The function fbinrecwrite does not support mixed data types, and this is the only function that can write Fortran sequential unformatted records without a horrible kludge.  I recommend either text or Netcdf formats for what you want to do.<div><br></div><div>You could look into calling a Fortran output subroutine from NCL, but that would be more complicated than text or Netcdf formats.<br><div><div><br></div><div><div><div>--Dave</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 27, 2017 at 2:42 PM, Raj K. Rai <span dir="ltr">&lt;<a href="mailto:rajkrai@gmail.com" target="_blank">rajkrai@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi, </div><div><br></div><div><font color="#000000" face="Times New Roman" size="3"></font><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">I am trying to write string, integer, and real values using ncl as in the following fortran format. </font></p><font color="#000000" face="Times New Roman" size="3"></font><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">do j=1,5</font></p><font color="#000000" face="Times New Roman" size="3"></font><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">write(unit) stringx(j), intx(j),realx(j), 23.2</font></p><font color="#000000" face="Times New Roman" size="3"></font><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">end do</font></p><font color="#000000" face="Times New Roman" size="3"></font><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3"> </font></p><font color="#000000" face="Times New Roman" size="3"></font><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">I saw there is fbinrecwrite(fout,-1,stringx(1<wbr>)) and so on for each value. Is there anyway we can write the data in ncl as in fortran. </font></p><p style="margin:0in 0in 0pt"><br></p><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">Thanks,</font></p><p style="margin:0in 0in 0pt"><font color="#000000" face="Calibri" size="3">Raj</font></p></div></div></blockquote></div></div></div></div></div></div></div>