<div dir="ltr"><div>Anie, yes, that is some kind of installation problem. After this message, let us move the conversation to the ncl-install mailing list, and drop ncl-talk.</div><div><br></div><div>I am not experienced with conda installs or debugging. Given that, here are some general suggestions that may or may not help. Perhaps someone else has another suggestion,</div><div><br></div><div>* Contact conda support for advice.<span class="gmail-Apple-converted-space"> </span> Probably try this first. Mention that you now have two different errors: can not open libgsl, and contours not showing. I think the first error is more important, and should be solved first.</div><div><br></div><div>* Try uninstalling, then reinstalling GSL using conda.</div><div><br></div><div>* Uninstall, then reinstall NCL using conda.</div><div><br></div><div>* Deactivate your main conda environment. Then set up a new conda environment in a different location on the same machine. Perform a fresh install of NCL and all dependencies in the alternate conda environment.</div><div><br></div><div>* As a last resort, try an alternate installation method.</div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 7, 2022 at 11:00 PM Anie K Lal <<a href="mailto:Anieklal@cas.iitd.ac.in">Anieklal@cas.iitd.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br>
I was able to plot it successfully in another PC where I had installed <br>
ncl. So it is an installation error. I got an error<br>
<br>
"ncl: error while loading shared libraries: libgsl.so.25: cannot open <br>
shared object file: No such file or directory"<br>
<br>
In both PCs I installed ncl using conda (I am using Anaconda),<br>
"conda create -n ncl_stable -c conda-forge ncl"<br>
<br>
I tried "conda update -n ncl_stable -c conda-forge --all", the error <br>
still persists.<br>
<br>
I am attaching the results of :<br>
conda list -n ncl_stable<br>
conda --version<br>
which ncl<br>
ncl -V<br>
env | grep NCARG<br>
<br>
In both PCs I installed ncl in same way, for one it worked and other <br>
it's showing this error!<br>
<br>
Kindly advice how to resolve this installation issue.<br><br><br>
Subject: Re: [ncl-talk] Contours not showing while plotting wrf out file<br>
Date: 06.08.2022 23:06<br>
From: Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>><br>
<br>
Anie, your data ranges look good, and there are no missing values.<br>
Let's test your basic NCL installation. Try running the same example<br>
on a different data file from the NCL website:<br>
<a href="https://www.ncl.ucar.edu/Applications/Data/cdf/wrfout_d01_2005-08-28_00:00:00" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Applications/Data/cdf/wrfout_d01_2005-08-28_00:00:00</a><br>
<br>
Use the original script example wrf_gsn_1.ncl, with no changes except<br>
for the file name. This works for me. I get a full color plot with<br>
no missing areas. Let us know if that works.<br>
<br>
On Sat, Aug 6, 2022 at 6:36 AM Anie K Lal <<a href="mailto:Anieklal@cas.iitd.ac.in" target="_blank">Anieklal@cas.iitd.ac.in</a>><br>
wrote:<br>
<br>
> Hi,<br>
> <br>
> (1) Output from<br>
> <br>
> "printVarSummary (hgt)<br>
> printMinMax (hgt)<br>
> print (num (ismissing (hgt))<br>
> <br>
> printMinMax (hgt@lat2d)<br>
> printMinMax (hgt@lon2d)" are:<br>
> <br>
----------------------------------------------------------------------------<br>
> Variable: hgt<br>
> Type: float<br>
> Total Size: 88804 bytes<br>
> 22201 values<br>
> Number of Dimensions: 2<br>
> Dimensions and sizes: [south_north | 149] x [west_east | 149]<br>
> Coordinates:<br>
> Number Of Attributes: 8<br>
> lon2d : <ARRAY of 22201 elements><br>
> lat2d : <ARRAY of 22201 elements><br>
> FieldType : 104<br>
> MemoryOrder : XY<br>
> description : Terrain Height<br>
> units : m<br>
> stagger :<br>
> coordinates : XLONG XLAT XTIME<br>
> (0)<br>
> (0) Terrain Height (m) : min=0 max=6044.23<br>
> (0) 0<br>
> (0)<br>
> (0) min=16.1061 max=39.9454<br>
> (0)<br>
> (0) min=63.4411 max=90.7589<br>
> <br>
----------------------------------------------------------------------------<br>
> <br>
> (2) No messages where printed when I ran the program. No errors or<br>
> warnings.<br>
> <br>
> (3) Yes, I ran the original example script by just changing the path<br>
> and<br>
> location of my data file. Still its showing the same output, without<br>
> <br>
> contours.<br>
> <br>
> Kindly advice<br>
> Thank you<br>
> <br>
> Subject: Re: [ncl-talk] Contours not showing while plotting wrf out<br>
> file<br>
> Date: 05.08.2022 22:01<br>
> From: Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov" target="_blank">dave.allured@noaa.gov</a>><br>
> To: Anie K Lal <<a href="mailto:Anieklal@cas.iitd.ac.in" target="_blank">Anieklal@cas.iitd.ac.in</a>><br>
> <br>
> Anie, minimal diagnostic information is needed to be able to help<br>
> you.<br>
> <br>
> (1) Please show output from:<br>
> <br>
> printVarSummary (hgt)<br>
> printMinMax (hgt)<br>
> print (num (ismissing (hgt))<br>
> <br>
> printMinMax (hgt@lat2d)<br>
> printMinMax (hgt@lon2d)<br>
> <br>
> (2) Please show any messages that were printed when you ran your<br>
> program.<br>
> <br>
> (3) Please run the original example wrf_gsn_1.ncl with no changes<br>
> except the path and location of your data file. Does that make a<br>
> valid contour map?<br>
> <br>
> On Fri, Aug 5, 2022 at 9:23 AM Anie K Lal via ncl-talk<br>
> <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br>
> <br>
>> Hi all,<br>
>> <br>
>> I am trying to plot WRF-ARW data using gsn_csm_contour_map. I have<br>
>> followed the script in<br>
>> <a href="https://www.ncl.ucar.edu/Applications/wrfgsn.shtml" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Applications/wrfgsn.shtml</a>.<br>
>> <br>
>> But unfortunately I am not getting the contours. I am attaching<br>
> the<br>
>> script I used and the plot I got.<br>
>> <br>
> <br>
________________________________________________________________________-<br>
>> d1 = addfile("/home/anie/Documents/WRF_Chem/EXP01/<a href="http://wrfout_d01.nc" rel="noreferrer" target="_blank">wrfout_d01.nc</a><br>
> [1]<br>
>> [1]", "r")<br>
>> <br>
>> it = 0 ; first time step<br>
>> hgt = wrf_user_getvar(d1,"HGT",it) ; Terrain elevation<br>
>> hgt@lat2d = wrf_user_getvar(d1,"XLAT",it) ; latitude/longitude<br>
>> hgt@lon2d = wrf_user_getvar(d1,"XLONG",it) ; required for<br>
>> plotting<br>
>> <br>
>> wks = gsn_open_wks("png","wrf_gsn")<br>
>> <br>
>> ;---Set some basic plot options<br>
>> res = True<br>
>> <br>
>> res@gsnMaximize = True ; maximize plot in frame<br>
>> <br>
>> ; res@tiMainString = filename<br>
>> <br>
>> res@cnFillOn = True<br>
>> res@cnFillPalette = "OceanLakeLandSnow"<br>
>> res@cnLinesOn = False<br>
>> <br>
>> res@mpProjection = "CylindricalEquidistant" ; The default<br>
>> res@mpDataBaseVersion = "MediumRes"<br>
>> <br>
>> res@gsnAddCyclic = False<br>
>> <br>
>> ;---Zoom in on plot<br>
>> res@mpMinLatF = min(hgt@lat2d)<br>
>> res@mpMaxLatF = max(hgt@lat2d)<br>
>> res@mpMinLonF = min(hgt@lon2d)<br>
>> res@mpMaxLonF = max(hgt@lon2d)<br>
>> <br>
>> contour = gsn_csm_contour_map(wks,hgt,res)<br>
>> <br>
> <br>
_________________________________________________________________________________________<br>
>> <br>
>> Kindly help me identify the issue.<br>
>> <br>
>> Looking forward to any kind of help.<br>
>> <br>
>> Thank you<br>
> <br>
> CAUTION: This email originated from outside of IIT Delhi. Do not<br>
> click<br>
> links or open attachments unless you recognize the sender and know<br>
> the<br>
> content is safe.<br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="http://wrfout_d01.nc" rel="noreferrer" target="_blank">http://wrfout_d01.nc</a><br>
<br>
CAUTION: This email originated from outside of IIT Delhi. Do not click<br>
links or open attachments unless you recognize the sender and know the<br>
content is safe.<br>
<br>
<br>
Links:<br>
------<br>
[1] <a href="http://wrfout_d01.nc" rel="noreferrer" target="_blank">http://wrfout_d01.nc</a></blockquote></div></div>