Git Product home page Git Product logo

Comments (8)

yumorishita avatar yumorishita commented on May 23, 2024

You can use LiCSBAS_cum2tstxt.py.

from licsbas.

alejobeap avatar alejobeap commented on May 23, 2024

Thanks.

from licsbas.

alejobeap avatar alejobeap commented on May 23, 2024

Dear
Thanks for your help. I'm Trying to use the code to transform to Geotiff, but I'm not sure that the -i (input file) is correct.
LiCSBAS_flt2geotiff.py -i TS_GEOCml1clip/cum_filt.h5 -p TS_GEOCml1clip/info/EQA.dem_par

LiCSBAS_flt2geotiff.py ver1.4 20200214 Y. Morishita
LiCSBAS_flt2geotiff.py -i TS_GEOCml1clip/cum_filt.h5 -p TS_GEOCml1clip/info/EQA.dem_par
Use gdal module
Traceback (most recent call last):
File "/home/pespin/LICSBAS/LiCSBAS/bin/LiCSBAS_flt2geotiff.py", line 219, in
sys.exit(main())
File "/home/pespin/LICSBAS/LiCSBAS/bin/LiCSBAS_flt2geotiff.py", line 186, in main
data = io_lib.read_img(infile, length, width, endian=endian)
File "/home/pespin/LICSBAS/LiCSBAS/LiCSBAS_lib/LiCSBAS_io_lib.py", line 146, in read_img
data = np.fromfile(file, dtype=dtype).reshape((length, width))
ValueError: cannot reshape array of size 713073 into shape (72,112)

from licsbas.

yumorishita avatar yumorishita commented on May 23, 2024

The input file for ​LiCSBAS_flt2geotiff.py must be in float format (not hdf5) as is written in the usage, which can be created by LiCSBAS_cum2vel.py or LiCSBAS_cum2flt.py.

See also:
#11

from licsbas.

alejobeap avatar alejobeap commented on May 23, 2024

Thanks for your help

from licsbas.

alejobeap avatar alejobeap commented on May 23, 2024

Dear
Again Thanks for your help.
At the time of processing choose a reference area for processing, is there any way to change this reference area?

Thank you
Greetings

from licsbas.

yumorishita avatar yumorishita commented on May 23, 2024

You can set the reference area using the -r option in LiCSBAS_cum2vel.py and LiCSBAS_cum2flt.py.

from licsbas.

alejobeap avatar alejobeap commented on May 23, 2024

Thanks

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.