Commit 11880d55 authored by Hoek, Steven's avatar Hoek, Steven
Browse files

Copyright statement added

parent 95f0e525
# Copyright (c) 2004-2020 WUR, Wageningen
"""ClipLib - a Python library for clipping from rasters""" """ClipLib - a Python library for clipping from rasters"""
from lmgeo.formats.gridenvelope2d import GridEnvelope2D from lmgeo.formats.gridenvelope2d import GridEnvelope2D
from array import array from array import array
...@@ -7,6 +8,8 @@ try: ...@@ -7,6 +8,8 @@ try:
HAS_NUMPY = True HAS_NUMPY = True
except ImportError: except ImportError:
HAS_NUMPY = False HAS_NUMPY = False
__author__ = "Steven B. Hoek"
# Determines the minimum envelope around an area with the same raster values # Determines the minimum envelope around an area with the same raster values
def get_envelope(raster, code): def get_envelope(raster, code):
......
# Copyright (c) 2004-2020 WUR, Wageningen
import formats.inmemoryraster as imr import formats.inmemoryraster as imr
from formats.raster import Raster from formats.raster import Raster
from formats.gridenvelope2d import GridEnvelope2D from formats.gridenvelope2d import GridEnvelope2D
import numpy as np import numpy as np
__author__ = "Steven B. Hoek"
def copy_to_memory(myraster): def copy_to_memory(myraster):
# Check input # Check input
if not isinstance(myraster, Raster): if not isinstance(myraster, Raster):
......
# Copyright (c) 2004-2020 WUR, Wageningen
import numpy as np import numpy as np
import lmgeo.toolbox.cliplib as cp import lmgeo.toolbox.cliplib as cp
import lmgeo.formats.gridenvelope2d as ge import lmgeo.formats.gridenvelope2d as ge
from pyproj import Proj, transform from pyproj import Proj, transform
__author__ = "Steven B. Hoek"
# Constants # Constants
eps = 0.00000001 eps = 0.00000001
......
# -*- coding: latin-1 -*- # -*- coding: latin-1 -*-
# Copyright (c) 2004-2020 WUR, Wageningen
"""ScaleLib - a Python library for scaling raster data""" """ScaleLib - a Python library for scaling raster data"""
from formats.gridenvelope2d import GridEnvelope2D from formats.gridenvelope2d import GridEnvelope2D
from formats.raster import Raster from formats.raster import Raster
...@@ -10,6 +11,8 @@ try: ...@@ -10,6 +11,8 @@ try:
except ImportError: except ImportError:
HAS_NUMPY = False HAS_NUMPY = False
__author__ = "Steven B. Hoek"
class ScaleManager(): class ScaleManager():
__initialised = False __initialised = False
__rg = None __rg = None
......
# Copyright (c) 2004-2020 WUR, Wageningen
"""VclipLib - a Python library for clipping from vector based spatial data""" """VclipLib - a Python library for clipping from vector based spatial data"""
from array import array from array import array
from enum import Enum from enum import Enum
__author__ = "Steven B. Hoek"
class HLocation(Enum): class HLocation(Enum):
HBETWEEN = 1 HBETWEEN = 1
LEFT = 2 LEFT = 2
......
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