[Thread Prev][Thread Next][Index]

Re: [ferret_users] error in student_t_cutoff function



Dear Karl and Ryo
G'day

Thank you for your help the problem is sorted out from your suggestions. I would like to write the procedure for this for others as well.

$ conda env list    !! it will show all the environment in your system !!!
FERRET                *  /home/srathore/anaconda3/envs/FERRET     !! this is my ferret env path !!
$ conda activate FERRET     !! to activate FERRET env !!
$ vi .bashrc   

open the bash script and go to the end of the script as shown in the attached image and in the end of the file add the line path/of/your/FERRET-env/lib/python3.7/site-packages/pyferret depend on the path of your env (mine is /home/srathore/anaconda3/envs/FERRET) !!

save the file and close it.

now you can check the function

$ conda activate FERRET
(FERRET)$ pyferret -nojnl
yes? sh func student*

To check (1), what do you find from this command?

yes? SPAWN env | grep -i ferret

To check (2), go to your anaconda directory.  (I don't know where yours is, but mine is under /usr/local/ .)  Then, do this

$ find . -iname '*pyferret*'

I find the library, which is  /usr/local/miniconda3/envs/FERRET/lib/python3.6/site-packages/pyferret/libpyferret.cpython-36m-darwin.so  .

Cheers,
Ryo



--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434


--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."


--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434

Attachment: imageedit_3_7132257740.png
Description: PNG image


[Thread Prev][Thread Next][Index]