geo not recognized
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách chạy lại lệnh Jython với met_data_import.py và so sánh import BatchImporter đang hoạt động với import WktFactory bị lỗi từ vortex-0.10.30.jar. Kiểm tra package mil/army/usace/hec/vortex/geo của jar và xác minh liệu WktFactory có khả dụng trong cùng runtime hay không; được xem là hoàn tất khi import geo hoạt động hoặc nguyên nhân gây thiếu class được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Java
- Star
- 38
- Fork
- 8
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của HydrologicEngineeringCenter/Vortex
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
HydrologicEngineeringCenter/Vortex#132 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
HydrologicEngineeringCenter/Vortex#114 · 14 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
HydrologicEngineeringCenter/Vortex#104 · 10 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
HydrologicEngineeringCenter/Vortex#103 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
HydrologicEngineeringCenter/Vortex#90 · 7 bình luận ·
Tất cả issue của HydrologicEngineeringCenter/Vortex
Issue tương tự
-
Test: Verify vault unlock max failed attempts and PIN brute-force protectionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
wultra/powerauth-tests#980 ·
-
account bug communication lecture
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
line/centraldogma#1397 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug]: Fixed/recurring deposit accounts are treated as savings in ownership and listingsCó thể đã có người làm @Aana123 đã nhận hôm nay. Đang mởbug Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/fineract-consumer-facing#252 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
ShaftHQ/SHAFT_ENGINE#7946 ·
Maintainer thường phản hồi trong vòng 1 ngày