title: Covert multidimensional ascii file to nc using R
body: <p>Hi I want to convert an ascii data with lat lon ensemble of temperatures as mem1..mem23 and for multiple dates to an nc file using R. I request for kind help in this regard</p>
  <p>My data is like</p>
  <pre><code>lat   lon   mem1 mem2 mem3     date    
                                            
  70    25     40   41  42       4/14/2019
  
  70.5  25     36    35  38      4/14/2019
  
  ..    ..    ...  ..  ...        .......
  ..    ..     ..  ...  ...        .......
   
  70    26.5   ..   ... ....      4/15/2019      
  70.5  26.5   ..   ... ....      4/15/2019
  </code></pre>