Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The system cannot find the file specified #82

Open
vargasdanny opened this issue Aug 12, 2021 · 7 comments
Open

The system cannot find the file specified #82

vargasdanny opened this issue Aug 12, 2021 · 7 comments

Comments

@vargasdanny
Copy link

vargasdanny commented Aug 12, 2021

Hi Mellissa,

I have been trying to run the docs/examples/bulk_trajgen_example.py but I am getting this error when running it:

File "C:\Users\Danny Vargas.conda\envs\pysplitenv\lib\subprocess.py", line 1207, in _execute_child
startupinfo)

FileNotFoundError: [WinError 2] The system cannot find the file specified

I am running it in Windows 10, python=3.6 and use spyder 5.0 to run the code. I followed all the instructions from the github repository and your paper but I could not make any progress solving it. May you please help me with this issue. Many thanks.
Danny

@laszloelemer
Copy link

Dear Melissa,

I have the same problem. I am working with Windows 10, python 3.6 and running in anaconda prompt. Any idea what the issue could be?
Kind regards,

Elemér

@KevinJSanchez-NOAA
Copy link

Hello Mellissa,
I am having the same problem as well. Any help is greatly appreciated.

I am on Windows 10, python 3.7, running in spyder 5.1.1

Best,
Kevin

@KevinJSanchez-NOAA
Copy link

KevinJSanchez-NOAA commented Aug 18, 2021

It turned out the code was looking for something in 'C:/hysplit4/exec' and my hysplit folder name did not have the number 4 in it. So I added the number 4 to the folder name and it worked. I hope that helps everyone else.

Or you can just change the last key word:
"The final keyword argument is the location of the HYSPLIT trajectory executable. On Windows systems, this will usually be 'C:\hysplit4\exec\hyts_std' (default value). PySPLIT calls this executable to calculate trajectories."

@vargasdanny
Copy link
Author

Hi Kevin,
Thank you so much for the suggestions. Based on your comments I could solve it. Besides adding the number 4, a backslash "/" was missing in the working directory, so at the end, it worked out and now looks like this:
working_dir = r'C:/hysplit4/exec/

I hope it helps others as well.

Cheers,
Danny

@absoni003
Copy link

Hello All,
Thank you for the previous suggestion to rename "/hysplit" folder to "/hysplit4". However, I found another issue during plotting of clusters using "hysplit_clustering.py". The error is <[Errno 2] No such file or directory: 'CLUSLIST_7'>, as there is no file named CLUSLIST_7. Is anyone faces same issue? Could you please help me to solve this error.
Thank you in advance,
Best,
Soni

@vargasdanny
Copy link
Author

Hi Soni,
This issue was already answered, check this #50
You get the CLUSLIST_7 file from running the HYSPLIT software from your computer. The number 7 is the number of clusters you wish to run, e.g. if you choose 5 clusters from the HYSPLIT interface after running you will get CLUSLIST_5. Hope it helps.
Cheers,
Danny

@absoni003
Copy link

absoni003 commented Sep 16, 2021

Thank you so much Danny for your quick reply. My issue resolved.
Best,
Soni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants