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

[_LoggerMainConfigs__get_properties] This function do not work for solar and sodar stations #454

Open
BiancaMorandi opened this issue Jan 14, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BiancaMorandi
Copy link
Contributor

BiancaMorandi commented Jan 14, 2025

Describe the bug
When running the code below I can get the logger main config properties and the table for mast, lidar, floating_lidar but NOT for solar and sodar stations. The outputs of .properties and .get_table are an empty list and None.

meas_station_obj = bw.MeasurementStation(bw.LoadBrightHub.get_data_model(measurement_station_uuid=meas_station_uuid))
meas_station_obj.logger_main_configs.properties
meas_station_obj.logger_main_configs.get_table()

This is because the _LoggerMainConfigs__get_properties function used is not working for solar/sodar stations.

Expected behavior
The _LoggerMainConfigs__get_properties function should be updated to work also for solar/sodar stations.

Image

@BiancaMorandi BiancaMorandi added the bug Something isn't working label Jan 14, 2025
@BiancaMorandi
Copy link
Contributor Author

Note that properties are also ordered as for Date of Update, at least the get_table should show configs ordered by date_from

@BiancaMorandi BiancaMorandi changed the title [_LoggerMainConfigs__get_properties] This function works only with mast and rsd devices stations but not with solar [_LoggerMainConfigs__get_properties] This function do not work for solar and sodar stations Mar 6, 2025
@BiancaMorandi BiancaMorandi moved this from To do to In progress in brightwind kanban Mar 11, 2025
@BiancaMorandi BiancaMorandi moved this from In progress to To do in brightwind kanban Mar 12, 2025
@olivia-bentley
Copy link

work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

2 participants