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

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

Open
conaghili opened this issue Oct 14, 2021 · 1 comment

Comments

@conaghili
Copy link

conaghili commented Oct 14, 2021

Hi all,

I googled this as well. So example data and my own data from gdas are giving this error in the title. I do not know why

import pysplit
working_dir = r'C:/hysplit/working'
storage_dir = r'T:/trajectories/July17'
meteo_dir = r'T:/Globus/gdasJuly17'
basename = 'island'
years = [2017]
months = [7]
hours = [6] #UTC
altitudes = [2000] 
location = (-7, -15)  
runtime = -48 

pysplit.generate_bulktraj(basename, working_dir, storage_dir, meteo_dir,
                          years, months, hours, altitudes, location, runtime,

                         )

Troubleshooting:

  1. Reinstalled the entire python environment -- using recommended 3.7 settings from main page
  2. Change forward to backward slashes
  3. Reinstalled hysplit
  4. Changed directories again
  5. Ran sfc /scannow
  6. added .BIN
    

I dont understand this error pysplit was working fine end of last week on my windows PC with the example .py bulk trajectory example. I checked the file directories they are correct. The troubleshooting took awhile and now I am still kind of stuck.

Now even with the example this occurs
image

This is what the control file says:
image

File directory if needing to inspect the size of the files. I guess I could run hysplit but I would rather run pysplit
image

I was able to do this previously. I have no idea why the program breaks.
image

@conaghili
Copy link
Author

conaghili commented Oct 14, 2021

#82 (comment)

^This suggestion worked. I ended up installing a copy of hysplit again with hysplit4, so to have two, as the name but what is really strange is that my previous run did not need hysplit4 so a bit baffling

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

1 participant