Skip to content

Wrapped readers should not parse file twice #340

@pastewka

Description

@pastewka

The ASC and Matrix readers currently parse the file twice: Once when constructing the reader (and the channel information) and second when actually reading the data. The second read step is unnecessary and should be avoided.

Note that readers should not store the topography data when constructing the channel information to avoid huge memory usage in Topobank. However, files are now only touched in Celery workers such that this problem is alleviated.

This means turning these wrapped readers into new-style readers.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions