Trygve Aspenes

Results 38 comments of Trygve Aspenes

If you look at my trimmed down script you see its, no, no and no.

So I did some digging in the code and the _decision_ of filetype is done here I think: https://github.com/pytroll/satpy/blob/main/satpy/utils.py#L634-L647 with tests here https://github.com/pytroll/satpy/blob/main/satpy/tests/test_utils.py#L481-L569 So maybe test with `http` and `https`...

So something like this in the `satpy_cf_nc` reader in `get_dataset` just before the call to `xr.open_dataset` ```python if isinstance(self.filename, FSFile) and urlparse(str(self.filename)).scheme in ['http', 'https']: self.filename = str(self.filename) ``` It...

OK, I did some playing with this with HRIT data and I got it to work with this diff: ``` diff --git a/satpy/resample.py b/satpy/resample.py index 6cf7d009..15e20172 100644 --- a/satpy/resample.py +++...

Thanks for discussing this. What I tried was to make a grayscale image( one satellite band) with an alpha channel. If I add `fill_value=0` to `save_dataset` I expect the resulting...

https://github.com/pytroll/pytroll-collectors/blob/main/pytroll_collectors/region_collector.py#L299-L307

Could this be used to have the moon_phase: ```python >>> import ephem >>> import datetime >>> now = datetime.datetime.now() >>> now datetime.datetime(2023, 2, 28, 18, 3, 47, 660535) >>> m...

I get this when reading 250meter resolution data. I will have a look ``` /home/trygveas/miniconda3/envs/python/lib/python3.9/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Failed to load DataID(name='6', wavelength=WavelengthRange(min=10.3, central=10.8, max=11.3, unit='µm'),...

Hm If I do something like this: ```python elif self.sensor_name == 'mersi-ll': # MERSI-LL stores these coefficients differently try: coeffs = self['/attr/TBB_Trans_Coefficient'] corr_coeff_a = coeffs[calibration_index] corr_coeff_b = coeffs[calibration_index + N_TOT_IR_CHANS_LL]...

Sorry to interrupt here but I see ``` h5dump -H /home/trygveas/testdata/fy3/FY3E_X_2023_01_11_15_12_A_G_MERSI_GEO1K_L1B.HDF | grep Moon DATASET "MoonAzimuth" { DATASET "MoonZenith" { ```