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

ENH: warning for not setting the crs of trackintel objects #575

Open
hongyeehh opened this issue Nov 10, 2023 · 0 comments
Open

ENH: warning for not setting the crs of trackintel objects #575

hongyeehh opened this issue Nov 10, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@hongyeehh
Copy link
Member

The current read functions in io would proceed without an error or warning when not providing a crs as input; the resulting trackintel class object thus has no crs set (e.g., running print(pfs.crs) will return None). This might cause problems later when running some analysis functions that require a crs, e.g., predict_transport_mode raises a warning: UserWarning: The CRS of your data is not defined..

Shall we add a warning statement if no crs is provided?

@hongyeehh hongyeehh added enhancement New feature or request question Further information is requested labels Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant