-
Notifications
You must be signed in to change notification settings - Fork 27
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
Feature request: Overlap Area Crop just like pygac-fdr #114
Comments
@yukaribbba You can read Pygac FDR files using the from satpy import Scene
filename = "AVHRR-GAC_FDR_1C_N06_19810330T005421Z_19810330T024632Z_R_O_20200101T000000Z_0100.nc"
scn = Scene([filename], reader="avhrr_l1c_eum_gac_fdr_nc")
scn.load(["reflectance_channel_1", "overlap_free_start", "overlap_free_end"])
refl = scn["reflectance_channel_1"]
start = scn["overlap_free_start"].astype(int).item()
end = scn["overlap_free_end"].astype(int).item()
overlap_free = refl.isel(y=slice(start, end)) |
@sfinkens That's just what I need. But when I tried to produce a FDR dataset from a GAC file, an error raised:
I'm using satpy 0.36 from pypi |
@yukaribbba I tried with the same TIROS-N file but couldn't reproduce the error. However, I ran into another problem, which I fixed here: pytroll/pygac-fdr#107. So please try upgrading to the latest version from github
Then you should be able to process that file. |
I hope this was closed by pytroll/pygac-fdr#107. Feel free to re-open |
I need it in satpy. Thanks!
The text was updated successfully, but these errors were encountered: