|
60 | 60 | from seaice_ecdr.cli.util import datetime_to_date
|
61 | 61 | from seaice_ecdr.constants import DEFAULT_BASE_OUTPUT_DIR
|
62 | 62 | from seaice_ecdr.intermediate_daily import get_ecdr_filepath
|
63 |
| -from seaice_ecdr.intermediate_monthly import get_intermediate_monthly_dir |
| 63 | +from seaice_ecdr.publish_monthly import get_complete_monthly_dir |
64 | 64 | from seaice_ecdr.platforms import PLATFORM_CONFIG
|
65 | 65 | from seaice_ecdr.util import (
|
66 | 66 | date_range,
|
67 | 67 | find_standard_monthly_netcdf_files,
|
68 |
| - get_intermediate_output_dir, |
| 68 | + get_complete_output_dir, |
69 | 69 | get_num_missing_pixels,
|
70 | 70 | )
|
71 | 71 |
|
@@ -378,7 +378,7 @@ def validate_outputs(
|
378 | 378 | * error_seaice_{n|s}_daily_{start_year}_{end_year}.csv. Contains the
|
379 | 379 | following fields: [year, month, day, error_code]
|
380 | 380 | """
|
381 |
| - intermediate_output_dir = get_intermediate_output_dir( |
| 381 | + complete_output_dir = get_complete_output_dir( |
382 | 382 | base_output_dir=base_output_dir,
|
383 | 383 | hemisphere=hemisphere,
|
384 | 384 | )
|
@@ -409,7 +409,7 @@ def validate_outputs(
|
409 | 409 | platform_id=platform.id,
|
410 | 410 | hemisphere=hemisphere,
|
411 | 411 | resolution=VALIDATION_RESOLUTION,
|
412 |
| - intermediate_output_dir=intermediate_output_dir, |
| 412 | + complete_output_dir=complete_output_dir, |
413 | 413 | is_nrt=False,
|
414 | 414 | )
|
415 | 415 |
|
@@ -447,8 +447,8 @@ def validate_outputs(
|
447 | 447 | else:
|
448 | 448 | periods = pd.period_range(start=start_date, end=end_date, freq="M")
|
449 | 449 | for period in periods:
|
450 |
| - monthly_dir = get_intermediate_monthly_dir( |
451 |
| - intermediate_output_dir=intermediate_output_dir, |
| 450 | + monthly_dir = get_complete_monthly_dir( |
| 451 | + complete_output_dir=complete_output_dir, |
452 | 452 | )
|
453 | 453 |
|
454 | 454 | results = find_standard_monthly_netcdf_files(
|
|
0 commit comments