Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added classes for parsing .dev and ts4.cor files. #4

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

IanTBlack
Copy link
Contributor

Example Notebook for implementing Dev class.

This adds a class for parsing the .dev file. Provides some methods for drawing out additional metadata and formatting arrayed data so that it is compatible with xarray datasets and netcdfs.

Remove try-except in favor of single line using builtin float.
At class instantiation, file metadata is assigned as class attributes. With some care, this could be used to replace the read_device_file and set_frame_descriptor functions in the base ACS class.

Additionally, functions are supplied that export metadata to appropriately shaped arrays  in xarray datasets and netcdfs. These are useful for performing advanced operations on ACS data. A brief example is provided in the examples folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant