Trygve Aspenes
Trygve Aspenes
Oh, wow, that was quick. Thanks. Hm, requirement, I need to think about that.
So I got stuck in other projects, but I still have this issue. It is working at the cost of an extra redirect. Requirements vs what I think is the...
Could someone add appropriate tags to this issue? And who can review this?
This PR is needed before issue 69 in pytroll-schedule can reviewed.
This is tricky as the sar-c has several modes with different widths and angles. And I also dont understand what should be passed to `ScanGeometry` like https://github.com/pytroll/pyorbital/blob/master/pyorbital/geoloc_instrument_definitions.py#L555 `ScanGeometry` implemented here...
I might add both 0.36.0 and 0.37.0 produce the same image  0.37.0 just uses longer time.
0.36.0 local file ( i.e. over nfs mounted disk) ``` time python test-thredds-satpy-netcdf.py /lustre/storeB/immutable/archive/projects/remotesensing/satellite-thredds/polar-swath/2022/08/18/npp-viirs-iband-20220818102458-20220818103910.nc /home/trygveas/miniconda3/envs/python/lib/python3.9/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, [DEBUG: 2022-08-22 09:44:41 : satpy.readers.yaml_reader] Reading ('/home/trygveas/miniconda3/envs/python/lib/python3.9/site-packages/satpy/etc/readers/satpy_cf_nc.yaml',) [DEBUG:...
Looking 0.37.0 Stripping down the script to just load `I01` ```python import sys from satpy import Scene from satpy.utils import debug_on debug_on() file_in = sys.argv[1] global_scene = Scene(reader='satpy_cf_nc', filenames=[file_in]) #global_scene.load(['hr_overview'])...
For 0.36.0 loading `hr_overview` takes less than 2 seconds ``` time python test-thredds-satpy-netcdf.py https://thredds.met.no/thredds/dodsC/remotesensingsatellite/polar-swath/2022/08/18/npp-viirs-iband-20220818102458-20220818103910.nc /home/trygveas/miniconda3/envs/python/lib/python3.9/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, [DEBUG: 2022-08-22 10:48:51 : satpy.readers.yaml_reader] Reading ('/home/trygveas/miniconda3/envs/python/lib/python3.9/site-packages/satpy/etc/readers/satpy_cf_nc.yaml',) [DEBUG:...
The only difference I can spot is that 0.37.0 when assigning to satpy_cf_nc is using `FSFile` and then I'm guessing 0.36.0 uses some native when loading the file. Not sure...