<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi Everyone!<div><br></div><div>Recently I am working on extracting data along a flight pathway. </div><div><br></div><div>I used the following for figuring out grid index of flight data across its pathway:</div><div><br></div><div>nm = getind_latlon2d (lat2d,lon2d, lat, lon)<br></div><div><br></div><div><div>do k=0,dimsizes(lat)-1</div><div>     n = nm(k,0)</div><div>     m = nm(k,1)</div></div><div>end</div><div><br></div><div>but I also need some help calculating the layer number based on flight altitude and time step based on flight time. </div><div>I could not find any example for extracting data along flight pathway.</div><div><br></div><div>Basically what I wanted to do is to extract data along flight pathway from model output(i.e. wrf-chem output) and write all the variables from model in a txt file.</div><div><br></div><div>I highly appreciate all your helps.</div><div><br></div><div>Best Regards,</div><div>Negin </div></div>
</div><br></div>