<div dir="ltr"><div>The following was sent offline to me and <span class="gmail-UXkSbf">Karin Meier-Fleischer.</span></div><div><span class="gmail-UXkSbf">The 2nd email states that the issue was solved using an (unfortunately) undocumented option</span></div><div><span class="gmail-UXkSbf"><br></span></div><div><span class="gmail-UXkSbf"> opt@netCDF = True </span></div><div><span class="gmail-UXkSbf"></span></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Mckinnon-Gray, Elliot</b> <span dir="auto"><<a href="mailto:elliot.mckinnon-gray@mpimet.mpg.de">elliot.mckinnon-gray@mpimet.mpg.de</a>></span><br>Date: Tue, Oct 6, 2020 at 11:01 AM<br>Subject: Extracting Fourier-transformed data from wkSpaceTime function<br><br></div><br><br>
<div>
<div style="word-wrap:break-word;line-break:after-white-space">Hi Karin (Cc Dennis because of the time of day I tend to work),
<div><br>
</div>
<div>What I am trying to do is to calculate correlation and difference between the spectra of modelled and observed precipitation. For this I need to write to disk and save Fourier-transformed data. So as far as my understanding goes, in the function
script, data are subjected to a 2D FFT and then this transformed field is power spectra in wavenumber frequency space, and the plots are created using this data and according axes.</div>
<div><br>
</div>
<div>The function script I refer to I <i>think</i> is called wkspacetime_cam.. maybe you will be able to tell from the attached script. I<font color="#000000"> no longer remember since I work with a modified version which I will attach
- this originated from Karin actually since it was modified to change psumanti 0.0 values to _Fillvalue [stops it getting stuck in an infinite loop for certain data]</font></div>
<div><br>
</div>
<div>I’m not particularly familiar with FFT in NCL, or temp file creation, so would I be able to ask for some guidance as to where in the script I might find the transformed data and how I can write that to a file? I hope I communicated my question
clearly!</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Elliot<br>
<div><br>
</div>
<div></div>
</div>
</div>
<div style="word-wrap:break-word;line-break:after-white-space">
<div>
<div></div>
</div>
</div>
</div>
</div></div></div>