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
Ignore proj dicts with no key for slicing #129
Conversation
Codecov Report
@@ Coverage Diff @@
## master #129 +/- ##
==========================================
+ Coverage 85.44% 85.59% +0.14%
==========================================
Files 35 35
Lines 5957 5984 +27
==========================================
+ Hits 5090 5122 +32
+ Misses 867 862 -5
Continue to review full report at Codecov.
|
this looks one level down I believe so it should be enough right ? ie in your case, if the variable being resampled has a coord called |
In the case of NUCAPS I believe I was getting errors because the coords had dimensions that the new DataArray did not. In NUCAPS this is something like |
|
Isn't |
Technically for NUCAPS it is the only dimension. It is a time and location dimension. Everything is 1D in these NUCAPS EDR files. So Temperature, Time, Longitude, Latitude are all on the same dimension. Pressure is |
well in that case it should be renamed to 'x' or 'y' so that pyresample understands it right ? |
Not without resampling the data because otherwise your coordinates would have different sizes than your output. We are resampling Temperature (Number_of_CrIS_FORs) to Temperature (y, x). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me with my NUCAPS dataset.
git diff origin/master **/*py | flake8 --diff