kanglcn / moraine Goto Github PK
View Code? Open in Web Editor NEWModern Radar Interferometry Environment; A simple, stupid InSAR postprocessing tool in big data era
Home Page: https://kanglcn.github.io/moraine/
License: Other
Modern Radar Interferometry Environment; A simple, stupid InSAR postprocessing tool in big data era
Home Page: https://kanglcn.github.io/moraine/
License: Other
Three plotting functions are needed currently:
rasterize
, dynspread
, inspect_points
). The inspect_points
fuction do not work well with geoviews
, so directly calculating the coordinate in Web Mercator coordinate is needed. To make the plot clean, inspect_points
hover should prevent showing the Web Mercator but I haven't find ways to do it.hv.streams.Tap
. Here is an example to do it: https://holoviews.org/reference/streams/bokeh/Tap.htmlthe threads_per_worker have to be 1 in de_emi, otherwise it will crash. No reason.
Add set.diff
, set.xor
, set.union
,set.intersect
functions and their corresponding de_diff
, de_xor
, de_union
, de_intersect
command.
Phase linking for PTA requires cupy.optimize to be implented which is tracked at rapidsai/raft#923 and cupy/cupy#6112
This works:
arr = da.ones((100,100),chunks=(10,10),dtype=bool)
arr_delayed = arr.to_delayed()
num_true_delayed = np.empty_like(arr_delayed,dtype=object)
with np.nditer(arr_delayed,flags=['multi_index','refs_ok'], op_flags=['readwrite']) as arr_it:
for arr_block in arr_it:
idx = arr_it.multi_index
num_true_delayed[idx] = delayed(np.count_nonzero)(arr_delayed[idx],keepdims=True)
num_true_delayed[idx] = da.from_delayed(num_true_delayed[idx],shape=(1,1),meta=np.array((),dtype=int))
num_true = da.block(num_true_delayed.tolist())
num_true.compute()
but this doesn't work:
arr = da.ones((100,100),chunks=(10,10),dtype=bool)
arr_delayed = arr.to_delayed()
num_true_delayed = np.empty_like(arr_delayed,dtype=object)
with np.nditer(arr_delayed,flags=['multi_index','refs_ok'], op_flags=['readwrite']) as arr_it:
for arr_block in arr_it:
idx = arr_it.multi_index
num_true_delayed[idx] = delayed(np.count_nonzero)(arr_block,keepdims=True)
num_true_delayed[idx] = da.from_delayed(num_true_delayed[idx],shape=(1,1),meta=np.array((),dtype=int))
num_true = da.block(num_true_delayed.tolist())
num_true.compute()
I have no idea with this.
i.e., Available GPU, GPU number, available thread, default plot figsize, dpi, etc.
Hello @kanglcn,
I would be interested in running your package on, .rslc and .diff .lat .lon elevation.rdc dem.rslc produced by snap2stamps for PsINSAR analysis on the Stamps package.
I believe this package is similar to dolphin from Isce2 and TomoSAR.
Specifically I want to replace the .rslc and .diff files with updated phase linked .rslc files and .diff as to be used in the Stamps package. I believe this is something it does, if I am mistaken I apologise.
if it is though, is there a step to step document or any other sort to produce these files?
thank you.
I am worry about if int32 is enough for rslc, coh, cov index since there flattenned array are big.
Provide 3 kind of API:
.cell-output-stdout {
overflow-y: scroll;
max-height: 300px;
}
Like DS selection, the selected DS are chunked according to the az chunk size and thus, the chunk size is irregular. However, zarr do not support irregular chunk size. So the rechunk have to be done. However, it is really time consuming. I don't have any solutions.
nbdev_test seems do not free the GPU memory imediately even when setting the n_workers to 1.
And it looks it does not allow read and write files.
Considering using cupyx.scipy.sparse.linalg.eigsh
as the EMI eig-decomposer for banded coherence matrix.
Use https://github.com/rapidsai/kvikio when it is mature.
Currently a gc_map_inversion
approach is used.
This command is extremely slow when the image is big. Considering using pt2geo
for it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.