Giter Site home page Giter Site logo

Comments (4)

akorosov avatar akorosov commented on September 3, 2024

Can you provide filenames?

from sea_ice_drift.

QianShisysu avatar QianShisysu commented on September 3, 2024

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.

akorosov avatar akorosov commented on September 3, 2024

I have just tried and it works. Did you download the files? Can you copy the entire stack output here?

from sea_ice_drift.

QianShisysu avatar QianShisysu commented on September 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.