-
Notifications
You must be signed in to change notification settings - Fork 7
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
geo not recognized #92
Comments
Nice, I recently reworked my scripts to use java.exe with jython-standalone because of Java 17. Waiting to see if that is a major inconvenience for folks... I set up a script that imports both
One workaround would be to avoid using I'd like to get to root cause if possible to know if this is going to be an issue for other scripters. Did your script work previously with a Java 11 version of the vortex jar and jython.exe? |
Thanks for your reply. Do you mean I can simply modify my script to:
By the way I do intend to have my data in SHG. Now if by: you mean the standalone Vortex, no I have not. Actually the whole reason why I am trying this approach is because I have no administrative rights on my system and it is a pain for me to go through the burocracy to install, modify, etc things in the system. Now I just tryed using another excisting java installation, in this case "C:\Program Files\Microsoft\jdk-17.0.7.7-hotspot\bin\java.exe" and still the same issue. One more thing. This is the very first time I put my hands on Jython and java for that matter, so please bare with me a little. |
No worries, you are doing well to get this far on your own. It would be:
|
The vortex standalone distribution does not require admin to install. I created a |
Nope, still not working. I've installed the Vortex standalone (v. 0.11.3) the same as you, using 7-zip, and tested my batch & script on it and I get the same error I have also tested the workaround with 'targetEpsg': '5070' and with all possible Javas and Vortex's in my system it goes a bit further but then I get the following error:
for reference, line 53 of my script is:
This feels to me as some misspelling issue. Could that be? I will try on another computer where I have full admin rights to see if there might be some issue with local system. However if you have any other tip, I would be gratefull because at the end I need for this to run under my current system. |
This is the env config that I used successfully:
|
I am trying to automate importing of *.nc files. I've taken the script and batch samples here and modified them to work with Jython-Standalone and to work with the vortex installation included in HEC-HMS as follows:
and the script met_data_import.py
The first import on BatchImporter works just fine.
The problem is that ...geo... is not being recognized and I get a vanilla error message as follows:
I have also tried importing other classes e.g. BatchSanitzer and it also works.
Any ideas on what might be the problem?
The text was updated successfully, but these errors were encountered: