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(
24
24
albedo : Raster = None ,
25
25
SZA : Raster = None ,
26
26
AOT : Raster = None ,
27
- GEOS5FP_connection : GEOS5FP = None ,
28
- GEOS5FP_directory : str = "." ) -> Raster :
27
+ GEOS5FP_connection : GEOS5FP = None ) -> Raster :
29
28
"""Calculates shortwave incoming radiation for a raster using the FLiES look-up table.
30
29
31
30
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(
45
44
SZA: Optional solar zenith angle raster in degrees.
46
45
AOT: Optional aerosol optical thickness raster.
47
46
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.
50
47
51
48
Returns:
52
49
A `Raster` object containing the calculated `SWin` values.
@@ -65,7 +62,7 @@ def process_FLiES_LUT_raster(
65
62
cloud_mask = np .array (cloud_mask )
66
63
67
64
if GEOS5FP_connection is None :
68
- GEOS5FP_connection = GEOS5FP (working_directory = GEOS5FP_directory )
65
+ GEOS5FP_connection = GEOS5FP ()
69
66
70
67
if COT is None :
71
68
COT = GEOS5FP_connection .COT (time_UTC = time_UTC , geometry = geometry )
You can’t perform that action at this time.
0 commit comments