Panu Lahtinen

Results 243 comments of Panu Lahtinen

Pre-commit is complaining about missing docstrings: ``` pyresample/static/__init__.py:1:1: D104 Missing docstring in public package pyresample/static/html/__init__.py:1:1: D104 Missing docstring in public package pyresample/static/css/__init__.py:1:1: D104 Missing docstring in public package ```

Yep, the idea was to deprecate all the `ImageContainer` interfaces and point the users to the XArray resampler classes.

This might explain the duplication: ![eckert_iv_longitudes](https://user-images.githubusercontent.com/3170788/78888081-ae247100-7a69-11ea-9774-ea6f91d4cf7e.png) The plot shows longitudes of the created area definition. The corners should not have any coordinates assigned to them.

Yeah, I suspected this is something more general than just the Eckert IV. I'll see if I can hack something together.

**NOTE: this used incorrect syntax (should be `inverse=True`)** Interestingly, `pyproj.Proj` seems to be working as expected: ```python from pyproj import Proj prj = Proj("ESRI:54012") print(prj(-16921202.922943164, -8313010.558165222, inv=True)) (1e+30, 1e+30) ```...

Indeed, both https://github.com/OSGeo/PROJ/pull/304 and https://github.com/pytroll/pyresample/issues/232 seem to be the same case as this. I think I have a fix (the same as in the PROJ patch @mraspaud made), but don't...

And the `pyproj` example above has an incorrect kwarg. It should be `inverse=True`, and then we get an incorrect result. So the bug is in PROJ.

In addition to Coveralls acting up, I can't get the tests to fail. I tried adding ```python _ = new_resampler.resample(self.data1) ``` to https://github.com/pytroll/pyresample/blob/main/pyresample/test/test_bilinear.py#L1198 As far as I understand, this test...

Also `res = new_resampler.get_sample_from_bil_info(self.data1)` works. This is what Satpy is actually doing, while `.resample()` calls the `.get_bil_info()` method first.

I'm fairly certain it's the correct version because my `import ipdb; ipdb.set_trace()` in the test method is caught. I modified the test so that it saves to a persistent location,...