Skip to content

Commit

Permalink
Snowex v2 work (#8)
Browse files Browse the repository at this point in the history
* jot down some notes about splitting variables and metadata

* Start moving variables to the right location

* comment

* Issue #6 - reorganize this package to make it cleaner and more extinsible. Isolate each function and make room to expand specific campaign logic. Separate the idea of campaign, variable, and profiles

* Issue #6 - lots of todos

* Going after better mapping, splitting of variables, and collection work

* Fixing tests

* Getting through more testing

* Fixing campaign test

* moving over from snowex_db

* Some additions to metadata

* More changes

* Rename metadata attributes, add timezone as kwarg for parsing

* Use the configured profile data class

* We need theh option to add comments

* Make sure we pass the header sep in

* Add the ability to have an empty profile that still contains metadata

* Metadata variables auto remap please

* Make sure metadata keys are checked against expected values

* More metadata logic

* Pass in overrides for site name and campaign name. Allow ignoring profiles that are meant to be ignored

* Ability to find units from the columns

* return the right variable for unit

* metadata logic

* Fixing tests

* Fixing tests

* Fixing flake8

* Clean up location parsing
  • Loading branch information
micah-prime authored Dec 9, 2024
1 parent 5d485ef commit 9c64544
Show file tree
Hide file tree
Showing 21 changed files with 1,191 additions and 789 deletions.
5 changes: 5 additions & 0 deletions insitupy/campaigns/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .campaign import ProfileDataCollection

__all__ = [
"ProfileDataCollection"
]
Loading

0 comments on commit 9c64544

Please sign in to comment.