Comments (3)
@lbdreyer Right, so I've contacted EUMETSAT and we've deduced that the space view GRIB files that they produce have actually got the wrong values set for (Xo, Yo). Currently they are set to (0, 0), but they should be (1, 1). With the correct values there is no mismatch with the coastlines when plotting using Scitools.
So in conclusion, this pull request is wrong and I'll close it, and Iris is great and works perfectly! Keep up the great work :D
from iris-grib.
I'm struggling to understand your example so I've tried to draw a diagram to check if this is what you mean:
As I understand there should be two grids: (i) the one that represents the visible full Earth's disk and (ii) the one that represents the sector image. In the above image, the full Earth grid (i) is represented by a 5x5 grid, but the sector image grid (ii) that may be contained in a GRIB file only covers part of the full grid - a smaller 3x3 grid.
The origin of the sector image (Xo,Yo) is at (0,0) (denoted by a yellow circle in the above image.
The Sub satellite location (Xp, Yp) is at (2, 2) (denoted by a yellow cross), which is the centre of the full Earth grid
From, the above diagram, I would have thought a start coordinate of -2 was correct?
from iris-grib.
Thanks very much for that @lbdreyer! Your example is far better than mine :)
I think the key issue here is that the first cell in grid (i) should be (1, 1), whereas it is (0, 0) in grid (ii). At least that is how I understand the contents of the space view GRIB files that EUMETSAT produce (I'm not aware of any other centres that produce such files with which I could check). So when relating grid (ii) to grid (i) you need to add 1.
I will contact EUMETSAT to see if my understanding is correct and comment here again with my reply.
from iris-grib.
Related Issues (20)
- iris-grib pyproject.toml
- iris-grib pre-commit-config HOT 1
- iris-grib dependabot
- iris-grib codespell HOT 1
- iris-grib prettier HOT 1
- iris-grib repo review GHA with exclusions HOT 1
- iris-grib sprint consider using more reusable workflows HOT 1
- iris-grib test coverage and test folder HOT 1
- iris-grib pytest tests HOT 2
- Direct users to "iris.load" rather than "iris_grib.load_cubes" HOT 2
- Stop using nose HOT 1
- Linkchecks for new GHA tests HOT 1
- Adopt automatic versioning
- Shift all the package code from `iris_grib` to `src/iris_grib`. HOT 1
- Add pytest-mock to deps
- Remove _iris_mercator_support.py
- add zenodo badge
- add contributor covenant code of conduct
- (after sprint) Review all the excluded rules + checks
- iris min pin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iris-grib.