generated from ACCESS-NRI/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The hres_eccb.py
and hres_ic.py
scripts are functionally identical (see git diff
below).
diff --git a/src/hres_eccb.py b/src/hres_ic.py
index 33b3ab6..9852929 100755
--- a/src/hres_eccb.py
+++ b/src/hres_ic.py
@@ -8,18 +8,17 @@
#!/usr/bin/env python3
"""
-Replace the land/surface fields in the ec_cb000 file with higher-resolution
+Replace the land/surface fields in the astart file with higher-resolution
era5-land or BARRA2-R data (if requested).
era5-land or BARRA2-R data (if requested).
+Replace the land/surface fields in the astart file with higher-resolution
era5-land or BARRA2-R data (if requested).
"""
-
+from pathlib import Path
import argparse
+from datetime import datetime,timedelta
import pandas
import shutil
-from pathlib import Path
-from datetime import datetime, timedelta
-import replace_landsurface_with_ERA5land_IC
+import replace_landsurface_with_ERA5land_IC
import replace_landsurface_with_BARRA2R_IC
boolopt = {
@@ -29,6 +28,7 @@ boolopt = {
def main():
+
"""
The main function that creates a worker pool and generates single GRIB files
for requested date/times in parallel.
@@ -39,8 +39,8 @@ def main():
Returns
-------
- None. The ec_cb000 file is updated and overwritten
- """
+ None. The astart file is updated and overwritten
+ """
# Parse the command-line arguments
parser = argparse.ArgumentParser()
It is recommended to turn these two scripts into one single script (for example replace_hres.py
).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo ⏳