This is the changelog for terrain50
.
Release template text:
Install or update from npm:
npm install --save terrain50
- Revert development dependencies update due to a crash when generating docs
- Add
.to_json()
to convert a Terrain50 instance to an object for JSON serialisation. - Add static method
Terrain50.FromJson()
to convert a JSON-serialised - Update development dependencies
- Fix errors in documentation
- Update dependencies
.scale()
,.shift()
: Don't alter NODATA values.min_value
,.max_value
: Allow setting to update underlying 2d array
- Add more examples to documentation (this shows immediately in the api docs)
- Update dependencies
- I thought we'd fixed the version issue....
- Fix disappearing NODATA values when downscaling
- Fix reserved word
- Fix crash in parser
- Fix crash when scaling down
- Add new
get_version
function to main exports
- Fix scaling down inputs that contain NODATA values
- Allow the character
e
when validating withTerrain50.Validate(string)
to allow for very small numbers
- Add new
quiet
argument toTerrain50.AnalyseFrequencies()
- Add new
ignore_nodata
argument to the new methods introducted in v1.8
- Add
terrain50_instance.analyse_frequencies()
for data value frequency analysis - Add
Terrain50.AnalayseFrequencies()
Terrain50.Parse()
: Ensure that the passed argument is actually a stringTerrain50.ParseStream()
:- Use a single space in a string as the default delimiter to improve performance (using a regex such as
/\s+/
is still supported via the newvalues_delimiter
parameter). - Fix code in example
- Use a single space in a string as the default delimiter to improve performance (using a regex such as
- Add
do_close
argument toTerrain50.serialise()
to auto-close stream when done (default: false)
Terrain50.ParseStream
: Allow data values like1.5106e-05
- Update dependencies
- Add convenient import aliases
- Fix crash in both ParseStream() and Parse() when passed junk
- Terrain50.validate: Fix crash when encountering an invalid metadata key
- Bugfix: Fix
cellsize
when scaling
- Add new
Terrain50.ParseStream
function for parsing a stream of multiple concatenated files
- Update README
- Fix even moar
import
s pointing to the wrong places
- Fix more
import
s pointing to the wrong places
- Fix
import
pointing to the wrong place
- Initial release! Refactored out from my main PhD codebase.