Giter Club home page Giter Club logo

Comments (3)

yumorishita avatar yumorishita commented on July 23, 2024 1

cum_filt.h5 is not a float file but HDF5 file. Please use a float file (e.g., vel.filt.mskd).

from licsbas.

yumorishita avatar yumorishita commented on July 23, 2024

infile can be any float file (e.g., vel.filt.mskd). Please show the full log for the value error.

from licsbas.

RoySreeta avatar RoySreeta commented on July 23, 2024

ext3/Zagros/064D_05884_131313$ LiCSBAS_profile.py -i TS_GEOCml1/cum_filt.h5 -p GEOCml1/EQA.dem_par -g 53.6,31.62/55.3,31.3

LiCSBAS_profile.py ver1.1 20200902 Y. Morishita
LiCSBAS_profile.py -i TS_GEOCml1/cum_filt.h5 -p GEOCml1/EQA.dem_par -g 53.6,31.62/55.3,31.3
Traceback (most recent call last):
File "/home/sreetama/LiCSBAS2/bin/LiCSBAS_profile.py", line 239, in
sys.exit(main())
^^^^^^
File "/home/sreetama/LiCSBAS2/bin/LiCSBAS_profile.py", line 138, in main
data = io_lib.read_img(infile, length, width, endian=endian)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sreetama/LiCSBAS2/LiCSBAS_lib/LiCSBAS_io_lib.py", line 199, in read_img
data = np.fromfile(file, dtype=dtype).reshape((length, width))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 1066478373 into shape (2703,3126)

from licsbas.

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.