<div dir="ltr"><div>Dear NCL user<br><br></div><div>I have masked the ocean data. Now I am trying to extract the ocean data only. <br></div><div>So, how to extracted ASCII file of data_ocean_only variable in the given code below. <br><br></div><div>please provide some information that.<br><br></div><div>Thank You<br></div><div><br>begin<br>;---Read data <br>      dir    = &quot;/home/kunal/mishra_sir/&quot;<br>      fnames = systemfunc(&quot;ls &quot; + dir + &quot;DAY_*.nc&quot;)<br>        a      = addfiles(fnames,&quot;r&quot;)<br>          mfile  = addfile(&quot;/usr/local/lib/ncl/lib/ncarg/data/cdf/<a href="http://landsea.nc">landsea.nc</a>&quot;,&quot;r&quot;)<br>          data    = a[:]-&gt;sshf<br>          data   = data/100000<br>          <br>          lsmask  = mfile-&gt;LSMASK<br>          lsm     = landsea_mask(lsmask,data&amp;latitude,data&amp;longitude)<br>        <br>          data_ocean_only = mask(data,lsm.eq.0,True)<br>          copy_VarMeta(data,data_ocean_only)      <br> <br>          printVarSummary (data)<br>    <br>en<font color="#1F497D">d</font><br><br>file detained is given as <br><br>Variable: data<br>Type: float<br>Total Size: 938060 bytes<br>            234515 values<br>Number of Dimensions: 3<br>Dimensions and sizes:    [time | 31] x [latitude | 85] x [longitude | 89]<br>Coordinates: <br>            time: [983223..983943]<br>            latitude: [25.5..15]<br>            longitude: [59..70]<br>Number Of Attributes: 4<br>  standard_name :    surface_upward_sensible_heat_flux<br>  long_name :    Surface sensible heat flux<br>  units :    J m**-2<br>  _FillValue :    -32767<br><br><br></div></div>