icesat2py / icepyx

Python tools for obtaining and working with ICESat-2 data
https://icepyx.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
203 stars 101 forks source link

remove `file` input arg and `_source` property from query (and improve some formatting) #479

Closed JessicaS11 closed 7 months ago

JessicaS11 commented 7 months ago

This PR removes the unused file input kwarg to Query and takes out the associated _source attribute and any cases where it was called (usually in if statements without else cases).

To work towards PEP compliance as indicated by flake8 (see #475), this PR also shortens some lines and cleans up other aspects of query.py.

github-actions[bot] commented 7 months ago

Binder :point_left: Launch a binder notebook on this branch for commit 774e3fb9ecd9cbe55806dedc6a62c43abaa2244e

I will automatically update this comment whenever this PR is modified

Binder :point_left: Launch a binder notebook on this branch for commit 402f4bccc44f12b1b66a8521dd40c94a561aea17

Binder :point_left: Launch a binder notebook on this branch for commit 8b01699f203bbe634f01671fb3185542efed6612

Binder :point_left: Launch a binder notebook on this branch for commit 0f47fd84bde854e4396d1eeee79ec8849d0ce3c8