Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hoek, Steven
lmgeo
Commits
aed0637c
Commit
aed0637c
authored
Aug 13, 2019
by
Hoek, Steven
Browse files
New class for reading and writing PCRaster files with extension *.map
parent
c6529af4
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
formats/csfraster.py
0 → 100644
View file @
aed0637c
This diff is collapsed.
Click to expand it.
tests/test_csfraster.py
0 → 100644
View file @
aed0637c
from
formats.csfraster
import
CsfRaster
from
.test_baseraster
import
TestBaseRaster
import
unittest
__author__
=
"Steven B. Hoek"
class
TestCsfRaster
(
TestBaseRaster
):
# Load data from a pickle file and metadata from a header file
# Write the data to an AsciiGrid. Close and open teh file again for reading and check
test_class
=
CsfRaster
int_extension
=
'map'
flt_extension
=
'map'
def
suite
():
""" This defines all the tests of a module"""
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
TestCsfRaster
))
return
suite
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment