Comments (4)
Can you provide filenames?
from sea_ice_drift.
I run the example in the https://github.com/nansencenter/sea_ice_drift and the filename1='S1B_EW_GRDM_1SDH_20200123T120618.tif' and filename2='S1B_EW_GRDM_1SDH_20200125T114955.tif'
from sea_ice_drift.
I have just tried and it works. Did you download the files? Can you copy the entire stack output here?
from sea_ice_drift.
Yes, I have downloaded those SAR images. Here is the entire output: (base) sq@sq-virtual-machine:~/桌面/sea_ice_drift/examples$ python example.py
Traceback (most recent call last):
File "/home/sq/桌面/sea_ice_drift/examples/example.py", line 10, in
sid = SeaIceDrift(filename1, filename2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sq/anaconda3/lib/python3.11/site-packages/sea_ice_drift-0.7.1-py3.11.egg/sea_ice_drift/seaicedrift.py", line 38, in init
File "/home/sq/anaconda3/lib/python3.11/site-packages/sea_ice_drift-0.7.1-py3.11.egg/sea_ice_drift/lib.py", line 316, in get_n
File "/home/sq/anaconda3/lib/python3.11/site-packages/nansat/nansat.py", line 440, in resize
self.vrt = self.vrt.get_subsampled_vrt(dst_shape[1], dst_shape[0], resample_alg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sq/anaconda3/lib/python3.11/site-packages/nansat/vrt.py", line 1367, in get_subsampled_vrt
subsamp_vrt = self.get_super_vrt()
^^^^^^^^^^^^^^^^^^^^
File "/home/sq/anaconda3/lib/python3.11/site-packages/nansat/vrt.py", line 1349, in get_super_vrt
super_vrt.vrt = self.copy()
^^^^^^^^^^^
File "/home/sq/anaconda3/lib/python3.11/site-packages/nansat/vrt.py", line 881, in copy
new_vrt.write_xml(new_vrt_xml)
File "/home/sq/anaconda3/lib/python3.11/site-packages/nansat/vrt.py", line 1053, in write_xml
self.dataset = gdal.Open(self.filename)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sq/anaconda3/lib/python3.11/site-packages/osgeo/gdal.py", line 4716, in Open
return _gdal.Open(*args)
^^^^^^^^^^^^^^^^^
RuntimeError: Line 147: doesn't have matching .
from sea_ice_drift.
Related Issues (20)
- sid.get_drift_FT() Error HOT 7
- Good version of Sea Ice drift HOT 1
- Proj4 or WKT () is wrong issue
- 'bool' object has no attribute 'children' HOT 7
- pickle error HOT 4
- Need a help in preparation original Sentinel SAR image for the algorithm HOT 2
- UnboundLocalError: local variable 'lon_pm2' referenced before assignment
- geodesic distance
- Test data missing HOT 1
- Avoid key point generation near land
- Drop py2 testing in travis
- AttributeError: module 'osr' has no attribute 'SRS_WKT_WGS84' HOT 3
- gdal import
- Geo-referenced images in Polar Stereographic coordinate
- json update needed HOT 7
- about the data of the input
- Pattern matching not working HOT 1
- Vectors direction HOT 3
- An Error. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sea_ice_drift.