geo not recognized
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia eseguendo nuovamente il comando Jython con met_data_import.py e confrontando l’importazione funzionante di BatchImporter con l’importazione non riuscita di WktFactory da vortex-0.10.30.jar. Ispeziona il package mil/army/usace/hec/vortex/geo del jar e verifica se WktFactory è disponibile nello stesso runtime; il lavoro è completato quando l’importazione di geo funziona oppure viene documentata la causa della classe mancante.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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:
SET "VORTEX_HOME=C:\Program Files\HEC\HEC-HMS\4.10"
SET "PATH=%VORTEX_HOME%\bin;%VORTEX_HOME%\bin\gdal;%PATH%"
SET "PROJ_LIB=%VORTEX_HOME%\bin\gdal\projlib"
SET "GDAL_DATA=%VORTEX_HOME%\bin\gdal\gdal-data"
SET "CLASSPATH=%VORTEX_HOME%\lib\*"
"%VORTEX_HOME%\jre\bin\java.exe" -jar C:\Users\...\jython-standalone-2.7.3.jar C:\Users\...\GRID_Importer\met_data_import.py
and the script met_data_import.py
import sys
sys.path.insert(0, 'C:/Program Files/HEC/HEC-HMS/4.10/lib/vortex-0.10.30.jar')
print sys.path
from mil.army.usace.hec.vortex.io import BatchImporter
from mil.army.usace.hec.vortex.geo import WktFactory
....
....
....
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:
File "C:\Users\...\GRID_Importer\met_data_import.py", line 16, in <module>
from mil.army.usace.hec.vortex.geo import WktFactory
ImportError: No module named geo
I have also tried importing other classes e.g. BatchSanitzer and it also works.
Any ideas on what might be the problem?
- Lingua principale
- Java
- Stelle
- 38
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di HydrologicEngineeringCenter/Vortex
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
HydrologicEngineeringCenter/Vortex#132 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
HydrologicEngineeringCenter/Vortex#114 · 14 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
HydrologicEngineeringCenter/Vortex#104 · 10 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
HydrologicEngineeringCenter/Vortex#103 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
HydrologicEngineeringCenter/Vortex#90 · 7 commenti ·
Tutte le issue di HydrologicEngineeringCenter/Vortex
Issue simili
-
Test: Verify vault unlock max failed attempts and PIN brute-force protectionForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
wultra/powerauth-tests#980 ·
-
account bug communication lecture
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
line/centraldogma#1397 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: Fixed/recurring deposit accounts are treated as savings in ownership and listingsForse già presa @Aana123 l’ha presa oggi. Apertabug Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/fineract-consumer-facing#252 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
ShaftHQ/SHAFT_ENGINE#7946 ·
I maintainer di solito rispondono entro 1 giorno