Skip to content

bug fix and code update to Magrigal TEC converter - #1800

Open
huishao-r wants to merge 3 commits into
developfrom
feature/hs-madrigal
Open

bug fix and code update to Magrigal TEC converter#1800
huishao-r wants to merge 3 commits into
developfrom
feature/hs-madrigal

Conversation

@huishao-r

@huishao-r huishao-r commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Description

Missing latitude and longitude are assigned to piecePointLaitude and piercePointLongitude.
Add missing datetime.
Also fix a bug which repeatedly adding localkeylist

Issue(s) addressed

Resolves #1801

Dependencies

None

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

@huishao-r huishao-r self-assigned this Jul 16, 2026
locationKeyList.append((k, v))
#HS: bug?
#HS for k, v in meta_data_types.items():
#HS locationKeyList.append((k, v))

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Need to check whether this is a bug


obs_data[("latitude", "MetaData")] = meta_data["piercePointLatitude"]
obs_data[("longitude", "MetaData")] = meta_data["piercePointLongitude"]
obs_data[("dateTime", "MetaData")] = meta_data["dateTime"]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

need to know what datetime is in the input file

@haydenlj
haydenlj marked this pull request as ready for review July 20, 2026 19:46

@haydenlj haydenlj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @huishao-r !

@BenjaminRuston

Copy link
Copy Markdown
Collaborator

@michael-a-herrera did you have a chance to look at this one pretty uncontroversial

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.

[Bug] Missing mandatory latitude, longitude and datetime

3 participants