Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open python file in result #448

Open
ferdiansyagz opened this issue Jan 30, 2025 · 19 comments
Open

Open python file in result #448

ferdiansyagz opened this issue Jan 30, 2025 · 19 comments

Comments

@ferdiansyagz
Copy link

ferdiansyagz commented Jan 30, 2025

Image

I want to open Python files like 'vel.file' ; 'vstd' ; 'vintercept' ; etc for my research analysis

How can I open that files

@ferdiansyagz ferdiansyagz changed the title LiCSBAS Visualitation custimization Open python file in result Jan 30, 2025
@yumorishita
Copy link
Owner

They are not python files but float binary files. You can use the tools described in the following pages:
https://github.com/yumorishita/LiCSBAS/wiki/3_visualization
https://github.com/yumorishita/LiCSBAS/wiki/4_other_tools

@ferdiansyagz
Copy link
Author

ferdiansyagz commented Feb 3, 2025

What format in that file and Can I convert that file to other formats, like 'txt' ; 'JSON' ; 'CSV' ; etc

Does that use a 'netcdf' format file?

@yumorishita
Copy link
Owner

The file format is HDF5 and float binary. You can convert the file to GeoTIFF using the tools I mentioned above, and can be further converted to txt, e.g., by gdal2xyz.

@ferdiansyagz
Copy link
Author

ferdiansyagz commented Feb 3, 2025

Image

Can I just open cum.h5 for a completely entire file without a base on specific coordinates or dates.

Because in my research I have to convert this chart into webGIS, I must first convert it to a 'CSV' or 'JSON' file.

@yumorishita
Copy link
Owner

I don't think so, but maybe you can try general tools for HDF5. Please search for yourself.

@ferdiansyagz
Copy link
Author

ferdiansyagz commented Feb 7, 2025

Image

When I open the file in hdf5 view in 'cum' section why does this file can't open the number, only 'NaN'

@yumorishita
Copy link
Owner

Most values are NaN around the edge, but there should be non-NaN values around the center.

@ferdiansyagz
Copy link
Author

Image

But when i try ur tools in the link above, an error appear like this

How to fix this?

@yumorishita
Copy link
Owner

Try using cum_filt.h5 instead of cum.h5.

@yumorishita
Copy link
Owner

Or use --nomask option.

@ferdiansyagz
Copy link
Author

In that tutorial, I only chose specific coordinates.

Can I choose my specific date instead?

@yumorishita
Copy link
Owner

@ferdiansyagz
Copy link
Author

ferdiansyagz commented Feb 13, 2025

Image

How can I open the output? cum file like the picture above

@ferdiansyagz
Copy link
Author

Image

I already tried to convert it to the TXT file, but when I opened it, there was no information about the coordinates of cumulative displacement.

How can I know what the point of cumulative displacement is?

@yumorishita
Copy link
Owner

@ferdiansyagz
Copy link
Author

Image

Where can I find the parameter data?

@yumorishita
Copy link
Owner

@ferdiansyagz
Copy link
Author

Image

nlines mean azimuth_line and width mean range_sample?

Can I use that data for dem parameter data?

@yumorishita
Copy link
Owner

EQA.dem_par should already exist and you don't need to create it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants