brmather / pycurious

Python package for computing the Curie depth from the magnetic anomaly
https://brmather.github.io/pycurious/
GNU Lesser General Public License v3.0
38 stars 17 forks source link

Implication of having a higher fractal exponent #35

Closed Geousman closed 3 years ago

Geousman commented 3 years ago

I am running a windowed data (200 by 200) km with about 40,000 points on the centroid code and I got this error:


ValueError Traceback (most recent call last)

in 8 9 window_size = 200e3 ---> 10 subgrid = grid.subgrid(window_size, xpt, ypt) ~\Anaconda3\lib\site-packages\pycurious\grid.py in subgrid(self, window, xc, yc) 149 raise ValueError( 150 "Window size {} at centroid {} exceeds the data range".format( --> 151 window, (xc, yc) 152 ) 153 ) ValueError: Window size 200000.0 at centroid (600500.0, 100500.0) exceeds the data range