File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ def process_FLiES_LUT_raster(
2424 albedo : Raster = None ,
2525 SZA : Raster = None ,
2626 AOT : Raster = None ,
27- GEOS5FP_connection : GEOS5FP = None ,
28- GEOS5FP_directory : str = "." ) -> Raster :
27+ GEOS5FP_connection : GEOS5FP = None ) -> Raster :
2928 """Calculates shortwave incoming radiation for a raster using the FLiES look-up table.
3029
3130 This function processes a raster to calculate `SWin` using the FLiES look-up table. It handles
@@ -45,8 +44,6 @@ def process_FLiES_LUT_raster(
4544 SZA: Optional solar zenith angle raster in degrees.
4645 AOT: Optional aerosol optical thickness raster.
4746 GEOS5FP_connection: Optional `GEOS5FP` connection object for retrieving missing data.
48- GEOS5FP_directory: Optional working directory for the `GEOS5FP` connection.
49- Defaults to the current directory.
5047
5148 Returns:
5249 A `Raster` object containing the calculated `SWin` values.
@@ -65,7 +62,7 @@ def process_FLiES_LUT_raster(
6562 cloud_mask = np .array (cloud_mask )
6663
6764 if GEOS5FP_connection is None :
68- GEOS5FP_connection = GEOS5FP (working_directory = GEOS5FP_directory )
65+ GEOS5FP_connection = GEOS5FP ()
6966
7067 if COT is None :
7168 COT = GEOS5FP_connection .COT (time_UTC = time_UTC , geometry = geometry )
You can’t perform that action at this time.
0 commit comments