Skip to content

Commit d1affa6

Browse files
committed
Minor updates to CAMEL reader.
1 parent 7808064 commit d1affa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

satpy/readers/camel_l3_nc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33
# Copyright (c) 2024 Satpy developers
44
#
5-
# This file is part of satpy.
5+
# This file is part of Satpy.
66
#
77
# satpy is free software: you can redistribute it and/or modify it under the
88
# terms of the GNU General Public License as published by the Free Software
@@ -49,9 +49,9 @@ def __init__(self, filename, filename_info, filetype_info):
4949
mask_and_scale=True,
5050
chunks={"xc": "auto", "yc": "auto"})
5151

52-
if self.nc.attrs["geospatial_lon_resolution"] != "0.05 degree grid ":
52+
if "0.05" not in self.nc.attrs["geospatial_lon_resolution"]:
5353
raise ValueError("Only 0.05 degree grid data is supported.")
54-
if self.nc.attrs["geospatial_lat_resolution"] != "0.05 degree grid ":
54+
if "0.05" not in self.nc.attrs["geospatial_lat_resolution"]:
5555
raise ValueError("Only 0.05 degree grid data is supported.")
5656

5757
self.nlines = self.nc.sizes["latitude"]

0 commit comments

Comments
 (0)