Skip to content

Commit

Permalink
Merge pull request #2287 from ameraner/feature_add_support_for_hrfi
Browse files Browse the repository at this point in the history
Feature: add support for HRFI imagery in the FCI L1c reader
  • Loading branch information
mraspaud authored Dec 1, 2022
2 parents 4962f2a + d73bdde commit b8883bc
Show file tree
Hide file tree
Showing 7 changed files with 971 additions and 745 deletions.
8 changes: 7 additions & 1 deletion satpy/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __get__(self, instance, owner=None): # noqa
raise TypeError(
"Cannot use cached_property instance without calling __set_name__ on it.")
try:
cache = instance.__dict__
cache = instance.__dict__ # noqa
except AttributeError: # not all objects have __dict__ (e.g. class defines slots)
msg = (
f"No '__dict__' attribute on {type(instance).__name__!r} "
Expand Down Expand Up @@ -88,3 +88,9 @@ def __get__(self, instance, owner=None): # noqa
# numpy <1.20
from numpy import dtype as DTypeLike # noqa
from numpy import ndarray as ArrayLike # noqa


try:
from functools import cache # type: ignore
except ImportError:
from functools import lru_cache as cache # noqa
36 changes: 28 additions & 8 deletions satpy/etc/areas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,26 @@ SouthAmerica:
# ---------- Meteosat Third Generation (MTG) / FCI Instrument -----------------

# Full disk
mtg_fci_fdss_500m:
description:
MTG FCI Full Disk Scanning Service area definition
with 1 km resolution
projection:
proj: geos
lon_0: 0
h: 35786400
x_0: 0
y_0: 0
ellps: WGS84
no_defs: null
shape:
height: 22272
width: 22272
area_extent:
lower_left_xy: [-5567999.999637696, -5567999.999637696]
upper_right_xy: [5567999.999637678, 5567999.999637678]
units: m

mtg_fci_fdss_1km:
description:
MTG FCI Full Disk Scanning Service area definition
Expand All @@ -351,8 +371,8 @@ mtg_fci_fdss_1km:
height: 11136
width: 11136
area_extent:
lower_left_xy: [-5567999.998577303, -5567999.998577303]
upper_right_xy: [5567999.998527619, 5567999.998527619]
lower_left_xy: [-5567999.998550739, -5567999.998550739]
upper_right_xy: [5567999.998550762, 5567999.998550762]
units: m

mtg_fci_fdss_2km:
Expand All @@ -371,8 +391,8 @@ mtg_fci_fdss_2km:
height: 5568
width: 5568
area_extent:
lower_left_xy: [-5567999.994200589, -5567999.994200589]
upper_right_xy: [5567999.994206558, 5567999.994206558]
lower_left_xy: [-5567999.994203018, -5567999.994203018]
upper_right_xy: [5567999.994203017, 5567999.994203017]
units: m

# Full disk - segmented products
Expand All @@ -392,8 +412,8 @@ mtg_fci_fdss_6km:
height: 1856
width: 1856
area_extent:
lower_left_xy: [-5567999.994200589, -5567999.994200589]
upper_right_xy: [5567999.994206558, 5567999.994206558]
lower_left_xy: [-5567999.994203018, -5567999.994203018]
upper_right_xy: [5567999.994203017, 5567999.994203017]
units: m

mtg_fci_fdss_32km:
Expand All @@ -412,8 +432,8 @@ mtg_fci_fdss_32km:
height: 348
width: 348
area_extent:
lower_left_xy: [-5567999.994200589, -5567999.994200589]
upper_right_xy: [5567999.994206558, 5567999.994206558]
lower_left_xy: [-5567999.994203018, -5567999.994203018]
upper_right_xy: [5567999.994203017, 5567999.994203017]
units: m

# Geostationary Operational Environmental Satellite (GOES) / ABI Instrument
Expand Down
Loading

0 comments on commit b8883bc

Please sign in to comment.