[ncl-talk] Wrf Vertical Cross Section Help
Nicholas Thomas Luchetti
Nicholas.Luchetti at colorado.edu
Sun Mar 18 12:19:50 MDT 2018
Hi Mary,
Thanks for the email!
I saw the "exit" in there after I sent this initial email and it was a
simple solution by removing it.... Thanks for the response though! It's
working fine now!
Best,
Nick Luchetti
On Sat, Mar 17, 2018 at 1:30 PM, Mary Haley <haley at ucar.edu> wrote:
> Hi Nicholas,
>
> You have an "exit" in your code, which causes the NCL script to exit
> before it ever gets to the plotting section.
>
> The other thing of note about this script is you must use a WRF output
> file that has multiple time steps or it won't work.
>
> Finally, you need to make sure nlat and nlon are set to index values that
> are within the size of the W array.
>
> If the code still doesn't work with these tips, then email
> ncl-talk at ucar.edu again and include any error messages you're getting. It
> would also help if you include a printVarSummary output of the W variable:
>
> printVarSummary(f->W)
>
> Thanks,
>
> --Mary
>
>
>
>
> On Wed, Mar 14, 2018 at 8:46 AM, Nicholas Thomas Luchetti <
> Nicholas.Luchetti at colorado.edu> wrote:
>
>> Hi all,
>>
>> I am trying to use the script: WRF_cn_4.ncl provided by NCAR to plot a
>> vertical cross section of wrfoutput from an idealized case...
>>
>> I simply just changed the file to my wrfoutput.nc
>> <http://secure-web.cisco.com/1kgyJZQ-MiATvzBOUVlpBGqH_mRSQTIpQ2WsrLhOdS_5BIyaZOW3-vvoRFzycyZvn7oRhQvoMMpa640z6gFoW7nY-d0-ad6xlW3KpXdMZbyubfMXPFHRGwPp99gO9h5dP3tjaE17p81N0H-GQ74HKkU5Htc9zvetJ1M-RL3VqyDTysMaymjUeW56hwTLs6vAxW_r2ZT8P0Gbr5vZsUXXBUdXIoxQzJavAdZQ5iFbhpVnsmNpmAoW0QpQYVw2WwjEG8wm7wXrxPphodqCs2vI6mrUXtncKZP4R9bIhDfavrPPEQxE0925vyxvzgBkSFlHVWQyN0ps0H9rzcKlbiXTc_Y8ThNHwN1SB8ir5LTV7fJuZCU5wkAvgjYvC7tB86hfFqMKzyoLEuRAW3MQethiFAF-pEBvn9nIUoHP78qxJx9m575Iajx7DeAzq4c5sVKj2/http%3A%2F%2Fwrfoutput.nc>
>> file, and changed the lat/lon to the idealized (i,j) point of interest....
>>
>> The script apparently runs fine with no errors, but nothing is plotted at
>> all...
>>
>> The dimensions of variable W seems to be exactly the same as in the
>> sample script so I can't seem to figure out why it doesn't plot anything?
>> Does anyone have any idea as to why?
>>
>> Is there something special I need to do use the (i,j) idealized
>> coordinates as opposed to lat/lon coordinates?
>>
>> I've attached the script as a .txt file.
>>
>> Thanks,
>>
>> Nick Luchetti
>>
>>
>> --
>> Nicholas Luchetti
>> Graduate Student
>> Department of Atmospheric and Oceanic Sciences (ATOC)
>> CU Boulder
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
--
Nicholas Luchetti
Graduate Student
Department of Atmospheric and Oceanic Sciences (ATOC)
CU Boulder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180318/2d57a4e7/attachment.html>
More information about the ncl-talk
mailing list