-
Notifications
You must be signed in to change notification settings - Fork 39
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
recover new south wales #1107
base: main
Are you sure you want to change the base?
recover new south wales #1107
Conversation
Needs work on the parameters and units
I got it working and did some cleanup but there is still work to do on the parameters + units. A few notes that I wanted to share
Also the repetitive use of Make sure that all the units are units we allow and if they are not we will need to fix them. |
This needs quite a bit more work in the documentation doc before proceeding with development. Once documentation is more thorough we can proceed |
I corrected the use of the timezone ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still seeing the parameter issues. Here is what I get
debug: Source Australia - New South Wales is "finished"
debug: Fetch results for Australia - New South Wales
debug: Started Australia - New South Wales - 1713275870399
info: 273 new measurements found for "Australia - New South Wales" in 1.932s
info: Australia - New South Wales - 58 occurrences of instance.parameter is not one of enum values: pm25,pm10,no2,so2,o3,co,bc,no,nox,pm1
info: Australia - New South Wales - 58 occurrences of instance.unit is not one of enum values: µg/m³,ppm,ppb
info: Australia - New South Wales - 27 occurrences of instance.value is not of a type(s) number
info: Finished with 1 successes and 0 failures in 2.018 seconds
debug: 93 locations of 7 parameters from 2024-04-16T13:00:00.000Z - 2024-04-16T13:00:00.000Z |
Parameters for Australia - New South Wales {
"co":{"count":19,"errors":0,"max":0.317628,"min":-0.152889,"nulls":0},
"no":{"count":43,"errors":0,"max":0.07599178000000001,"min":-0.00096442,"nulls":0},
"no2":{"count":43,"errors":0,"max":0.0318994,"min":0,"nulls":0},
"o3":{"count":42,"errors":0,"max":0.03167671,"min":-0.001845,"nulls":0},
"pm10":{"count":55,"errors":0,"max":120.9,"min":-2.636,"nulls":0},
"pm25":{"count":35,"errors":0,"max":33,"min":0,"nulls":0},
"so2":{"count":36,"errors":0,"max":0.00209404,"min":-0.00064265,"nulls":0}
}
Looks like we are only allowing 7 of the 8 parameters through the parameter check. Look to see if we need to remove one from the adapters parameter list or add it to our accepted parameters.
Also, we are getting null value errors. To be consistent with other sources I think we should stop throwing those out and instead turn them into 9999s.
This is a draft. it appears to be returning valid measurements but is not finishing: