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

Make 'extra' data available to other modules #4070

Open
Alex-developer opened this issue Dec 4, 2024 · 1 comment
Open

Make 'extra' data available to other modules #4070

Alex-developer opened this issue Dec 4, 2024 · 1 comment
Assignees
Labels
enhancement In testing Change being tested by the Allsky team

Comments

@Alex-developer
Copy link
Collaborator

Currently its not easy for modules to read data generated by other modules. Add a function to the shared module that can read all of the extra data files.

@Alex-developer Alex-developer added this to the v2024.12.06_01 milestone Dec 4, 2024
@Alex-developer Alex-developer self-assigned this Dec 4, 2024
@Alex-developer Alex-developer changed the title Make 'extra' data available to otehr modules Make 'extra' data available to other modules Dec 4, 2024
@Alex-developer Alex-developer transferred this issue from AllskyTeam/allsky-modules Dec 14, 2024
@Alex-developer Alex-developer added the In progress Change in progress label Dec 26, 2024
Alex-developer added a commit that referenced this issue Dec 26, 2024
…le-to-other-modules

#4070 Add function to read any Allsky variable
@Alex-developer
Copy link
Collaborator Author

Adds a new function to the shared module get_allsky_variable This takes a single parameter, variable and will attempt to find the variable either in the Allsky environment variables or the extra data files.

If the variable cannot be found then Non is returned

Testing requires attempting to read a variable in a module that was generated by anotehr module i.e.

variable="AS_OWWEATHER"
test = s.get_allsky_variable(variable)
print(f"{variable}={test}")`

@Alex-developer Alex-developer added In testing Change being tested by the Allsky team and removed In progress Change in progress labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement In testing Change being tested by the Allsky team
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant