Commit e7ae2d99 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

updated README

parent c80305cd
......@@ -16,6 +16,7 @@ For now, there is no automatic install script. Just clone the repository, instal
CoReg_Sat has been tested with Python 3.5. It is not completely compatible with Python 2.7 (at least at the moment).
The following non-standard Python libraries are required:
- gdal, osr, ogr
- geopandas
- pykrige
......@@ -124,12 +125,6 @@ CR.correct_shifts() returns an an OrderedDict containing the coregistered numpy
CR.correct_shifts()
```
Writing GeoArray of size (10978, 10978) to /home/gfz-fe/scheffler/temp.
OrderedDict([('band', None),
('is shifted', True),
('is resampled', False),
......
......@@ -272,11 +272,11 @@ class Geom_Quality_Grid(object):
def test_if_singleprocessing_equals_multiprocessing_result(self):
self.mp = 1
self.CPUs = None
dataframe = self.get_quality_grid()
mp_out = np.empty_like(dataframe.values)
mp_out[:] = dataframe.values
self.mp = 0
self.CPUs = 1
dataframe = self.get_quality_grid()
sp_out = np.empty_like(dataframe.values)
sp_out[:] = dataframe.values
......@@ -417,7 +417,7 @@ class Geom_Quality_Grid(object):
OK = OrdinaryKriging(X_coords, Y_coords, ABS_SHIFT, variogram_model='spherical',verbose=False)
zvalues, sigmasq = OK.execute('grid', grid_x, grid_y,backend='C',n_closest_points=12)
if self.mp:
if self.CPUs is None or self.CPUs>1:
fName_out = fName_out if fName_out else \
"Kriging__%s__grid%s_ws%s_%s.tif" %(attrName,self.grid_res, self.window_size,tilepos)
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment