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

added parse_grib_idx function #471

Merged
merged 3 commits into from
Jul 8, 2024
Merged

Conversation

Anu-Ra-g
Copy link
Contributor

@Anu-Ra-g Anu-Ra-g commented Jun 27, 2024

Added parse_grib_idx function for parsing the .idx file in the cloud archives

@Anu-Ra-g Anu-Ra-g mentioned this pull request Jun 27, 2024
kerchunk/grib2.py Outdated Show resolved Hide resolved
Copy link
Member

@martindurant martindurant left a comment

Choose a reason for hiding this comment

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

I realise that this code was not originally yours @Anu-Ra-g . However, this is the chance to produce better style and decide what information we want to parse and why.

We should attempt to include tests which cover every new line added.

kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
@Anu-Ra-g Anu-Ra-g force-pushed the parse_idx branch 3 times, most recently from 91cb20f to c6b9e1b Compare July 2, 2024 06:49
Copy link
Member

@martindurant martindurant left a comment

Choose a reason for hiding this comment

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

Obviously needs tests; and without the next stage of the workflow, this function isn't too useful by itself.

kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
Copy link
Member

@martindurant martindurant left a comment

Choose a reason for hiding this comment

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

In the following PR, when we have the other function too, we can actually make a test.

kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
kerchunk/grib2.py Outdated Show resolved Hide resolved
@martindurant martindurant merged commit 8b61c5d into fsspec:main Jul 8, 2024
5 checks passed
@Anu-Ra-g Anu-Ra-g deleted the parse_idx branch July 11, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants