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

Fix station bug for empty InstrumentSensitivity responses. #241

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

junghao
Copy link
Contributor

@junghao junghao commented Sep 22, 2023

As described in https://github.com/GeoNet/tickets/issues/14280.

Station SMHS LFF has empty InstrumentSensitivity data. This code makes the field output empty like this:

#Network | Station | Location | Channel | Latitude | Longitude | Elevation | Depth | Azimuth | Dip | SensorDescription | Scale | ScaleFreq | ScaleUnits | SampleRate | StartTime | EndTime
NZ|SMHS|50|LFF|-43.262160|172.334630|181.000000|0.000000|0.000000|0.000000|Fluxgate Magnetometer||||1.000000|2012-10-16T04:30:00|2013-01-15T11:00:00
NZ|SMHS|50|LFF|-43.262160|172.334630|181.000000|0.000000|0.000000|0.000000|Fluxgate Magnetometer||||1.000000|2013-01-16T00:30:00|2013-04-18T00:00:00
NZ|SMHS|50|LFF|-43.262160|172.334630|181.000000|0.000000|0.000000|0.000000|Fluxgate Magnetometer||||1.000000|2013-04-18T00:10:00|2014-10-14T00:00:00
NZ|SMHS|50|LFF|-43.262160|172.334630|181.000000|0.000000|0.000000|0.000000|Fluxgate Magnetometer||||1.000000|2014-10-14T00:00:05|

Copy link
Contributor

@CallumNZ CallumNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sue-h-gns sue-h-gns merged commit efe34a0 into main Sep 22, 2023
11 checks passed
@sue-h-gns sue-h-gns deleted the response-fix branch September 22, 2023 03:47
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.

3 participants