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

adjusted some imports, modified README

parent 71e36fed
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<component name="TestRunnerService">
<option name="projectConfiguration" value="Nosetests" />
<option name="PROJECT_TEST_RUNNER" value="Nosetests" />
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<list size="1">
<item index="0" class="java.lang.String" itemvalue="py_tools_ds" />
<inspection_tool class="PyPep8Inspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PyPep8NamingInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />
<option name="processComments" value="true" />
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IpnbSettings">
<option name="workingDirectory" value="$PROJECT_DIR$" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.5.1 (~/python_GFZ/python/bin/python3.5)" project-jdk-type="Python SDK" />
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<module fileurl="file://$PROJECT_DIR$/.idea/geoarray.iml" filepath="$PROJECT_DIR$/.idea/geoarray.iml" />
\ No newline at end of file
This diff is collapsed.
......@@ -30,6 +30,19 @@ Features
* A pip installer is in preparation but not yet available.
* You can just clone the repository via GIT and update the PATH environment variable:
.. cd /your/installation/folder
.. git clone
.. PATH=$PATH:~/path/to/your/installation/folder/geoarray
......@@ -10,8 +10,8 @@ from .masks import BadDataMask
from .masks import NoDataMask
from .masks import CloudMask
# 'BadDataMask',
# 'NoDataMask',
# 'CloudMask'
# ]
# -*- coding: utf-8 -*-
from geoarray.subsetting import get_array_at_mapPos
__author__='Daniel Scheffler'
import os
......@@ -26,6 +24,7 @@ except ImportError:
import gdalnumeric
from geopandas import GeoDataFrame, GeoSeries
from pandas import DataFrame
from py_tools_ds.ptds.convenience.object_oriented import alias_property
from py_tools_ds.ptds.geo.coord_calc import get_corner_coordinates
from py_tools_ds.ptds.geo.coord_grid import snap_bounds_to_pixGrid
from py_tools_ds.ptds.geo.coord_trafo import mapXY2imXY, transform_any_prj, reproject_shapelyGeometry
......@@ -40,14 +39,8 @@ from py_tools_ds.ptds.compatibility.python.exceptions \
import TimeoutError as TimeoutError_comp, FileNotFoundError as FileNotFoundError_comp
from py_tools_ds.ptds.compatibility.gdal import get_gdal_func
def alias_property(key):
return property(
lambda self: getattr(self, key),
lambda self, val: setattr(self, key, val),
lambda self: delattr(self, key))
# internal imports
from .subsetting import get_array_at_mapPos
class GeoArray(object):
......@@ -4,9 +4,7 @@ __author__='Daniel Scheffler'
import numpy as np
# internal imports
from . import GeoArray
from .baseclasses import GeoArray
class BadDataMask(GeoArray):
......@@ -3,7 +3,7 @@
from setuptools import setup
with open('README.rst') as readme_file:
with open('') as readme_file:
readme =
with open('HISTORY.rst') as history_file:
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