Skip to content

Conversation

@awarde96
Copy link
Collaborator

@awarde96 awarde96 commented Dec 5, 2025

Description

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

@awarde96 awarde96 linked an issue Dec 5, 2025 that may be closed by this pull request
@samdoolin
Copy link

In a request for multiple params

"step": [0, 3, 6],
"param": ["2t", "mx2t3"],

I think this might drop step 0 entirely(?), which might be a little surprising.
Step 0 may be valid for some parameters, but would only be returned if these are requested independently

"step": [0, 3, 6],
"param": ["2t"],

@awarde96
Copy link
Collaborator Author

awarde96 commented Dec 9, 2025

Yes indeed, that is an issue.
Investigating further I have found that the index files on the server like this one maybe have an error https://data.ecmwf.int/forecasts/20251207/00z/ifs/0p25/oper/20251207000000-0h-oper-fc.index.
If you search mn2t3 for step 0 you will find the following line:

{"domain": "g", "date": "20251207", "time": "0000", "expver": "0001", "class": "od", "type": "fc", "stream": "oper", "levtype": "sfc", "step": "3", "param": "mn2t3", "_offset": 35243390, "_length": 224}

As you can see it has "step" : "3" and all other params have step 0. I think this is incorrect and either the index file should not have an entry fo mn2t3 for step 0 or it should be set to step 0 not 3.

Let me discuss internally and see if this can be resolved. If changed in the index file I dont think a change to the client is needed at all.

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.

requesting step 0 writes zeros into step 3 (mn2t3, mx2t3)

3 participants