Commit 95f0e525 authored by Hoek, Steven's avatar Hoek, Steven
Browse files

Copyright statement added

parent 09d100ea
...@@ -12,6 +12,8 @@ try: ...@@ -12,6 +12,8 @@ try:
except ImportError: except ImportError:
HAS_NUMPY = False HAS_NUMPY = False
__author__ = "Steven B. Hoek"
class GeotiffRaster(GridEnvelope2D, Raster): class GeotiffRaster(GridEnvelope2D, Raster):
"A raster represented by 2 files, with extensions 'tif' and 'tfw'" "A raster represented by 2 files, with extensions 'tif' and 'tfw'"
......
...@@ -6,6 +6,8 @@ from tables.exceptions import NoSuchNodeError ...@@ -6,6 +6,8 @@ from tables.exceptions import NoSuchNodeError
from .raster import Raster from .raster import Raster
from .gridenvelope2d import GridEnvelope2D from .gridenvelope2d import GridEnvelope2D
__author__ = "Steven B. Hoek"
# Class for reading quick and dirty HDF5 format that can store weather data # Class for reading quick and dirty HDF5 format that can store weather data
# in a raster format in an efficient way, for fast access # in a raster format in an efficient way, for fast access
class Hdf5Raster(GridEnvelope2D, Raster): class Hdf5Raster(GridEnvelope2D, Raster):
......
# Copyright (c) 2004-2020 WUR, Wageningen
from .gridenvelope2d import GridEnvelope2D; from .gridenvelope2d import GridEnvelope2D;
from .raster import Raster from .raster import Raster
import numpy as np import numpy as np
......
# Copyright (c) 2004-2020 WUR, Wageningen
from .gridenvelope2d import GridEnvelope2D; from .gridenvelope2d import GridEnvelope2D;
__author__ = "Steven B. Hoek"
class Netcdf4Envelope2D(GridEnvelope2D): class Netcdf4Envelope2D(GridEnvelope2D):
# Constants # Constants
__X = 'lon'; __X = 'lon';
......
# Copyright (c) 2004-2020 WUR, Wageningen
from .netcdf4envelope2d import Netcdf4Envelope2D; from .netcdf4envelope2d import Netcdf4Envelope2D;
from .gridenvelope2d import GridEnvelope2D; from .gridenvelope2d import GridEnvelope2D;
from netCDF4 import Dataset; from netCDF4 import Dataset;
import os; import os;
__author__ = "Steven B. Hoek"
class Netcdf4Raster(Netcdf4Envelope2D): class Netcdf4Raster(Netcdf4Envelope2D):
# Constants # Constants
DATAFILEXT = 'nc4'; DATAFILEXT = 'nc4';
......
# Copyright (c) 2004-2020 WUR, Wageningen
from .const import constants as const from .const import constants as const
import os; import os;
......
# Copyright (c) 2004-2020 WUR, Wageningen
from __future__ import division from __future__ import division
from .const import constants as const from .const import constants as const
from .gridenvelope2d import GridEnvelope2D; from .gridenvelope2d import GridEnvelope2D;
......
# Copyright (c) 2004-2015 Alterra, Wageningen-UR # Copyright (c) 2004-2020 WUR, Wageningen
# Steven Hoek (steven.hoek@wur.nl), April 2015
from __future__ import division from __future__ import division
from .gridenvelope2d import GridEnvelope2D; from .gridenvelope2d import GridEnvelope2D;
from .basetiffraster import BaseTiffRaster from .basetiffraster import BaseTiffRaster
...@@ -10,6 +9,8 @@ import numpy as np ...@@ -10,6 +9,8 @@ import numpy as np
from .const import constants as const from .const import constants as const
import os import os
__author__ = "Steven B. Hoek"
class StripTiffRaster(BaseTiffRaster, GridEnvelope2D): class StripTiffRaster(BaseTiffRaster, GridEnvelope2D):
"A raster represented by 2 files, with extensions 'tif' and 'tfw'" "A raster represented by 2 files, with extensions 'tif' and 'tfw'"
"This class can deal with tiff files which have more than 1 row per strip" "This class can deal with tiff files which have more than 1 row per strip"
......
# Copyright (c) 2004-2020 WUR, Wageningen
from __future__ import division from __future__ import division
from .const import constants as const from .const import constants as const
from .gridenvelope2d import GridEnvelope2D; from .gridenvelope2d import GridEnvelope2D;
......
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