Skip to content

Comments

Fix ibtracs collection id and country code.#47

Closed
Rup-Narayan-Rajbanshi wants to merge 1 commit intomainfrom
fix/ibtracs-collection-id
Closed

Fix ibtracs collection id and country code.#47
Rup-Narayan-Rajbanshi wants to merge 1 commit intomainfrom
fix/ibtracs-collection-id

Conversation

@Rup-Narayan-Rajbanshi
Copy link
Contributor

Changes

  • Fix ibtracs collection id and country code.

for point in track_geometry.coords:
lon, lat = point
country_code = self.geocoder.get_iso3_from_geometry(Point(lon, lat))
# country_code = self.geocoder.get_iso3_from_geometry(Point(lon, lat))
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is the geocoding removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@emmanuelmathot this method is not implemented in our Geocoding. So for quick fix, we are passing UNK (Unknown) for now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd rather prefer the geocoding to return 'UNK' then. I am using a geocoder that implement the function and I need the items to be properly labelled

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@emmanuelmathot Sounds good.

@Rup-Narayan-Rajbanshi Rup-Narayan-Rajbanshi marked this pull request as ready for review March 23, 2025 06:47
@tnagorra tnagorra closed this Mar 23, 2025
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.

4 participants