<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi, <div>I am now transitioning from NCL to python and installed the modules using conda:</div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">conda create -n ncl_to_python -c conda-forge xarray netcdf4 scipy pyngl pynio ncl</span></p></div><div><br></div><div>I then activated the environment using </div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">conda activate ncl_to_python</span></p></div><div><br></div><div>I then used an example "TRANS_read_netCDF.py ". However, after running the script it gives the error:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures"> import Ngl,Nio</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(254,244,156)"><span style="font-variant-ligatures:no-common-ligatures">ImportError: No module named Ngl</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><br></div><div>Is it just a path issue? Any help is appreciated.</div><div><br></div><div>Thanks,</div><div>Mahesh</div></div></div></div></div></div>