|
811 | 811 | "OCEAN_GRID_FOLDERS = \"output401/ocean/\" # Specific folder for ocean grid files\n", |
812 | 812 | "\n", |
813 | 813 | "print(f\"Using dataset from: {ROOT_FOLDER}\")\n", |
814 | | - "print(f\"Target folders:\")\n", |
| 814 | + "print(\"Target folders:\")\n", |
815 | 815 | "print(f\" Atmosphere: {ATMOS_FOLDERS}\")\n", |
816 | 816 | "print(f\" Ocean: {OCEAN_FOLDERS}\")\n", |
817 | 817 | "print(f\" Land: {LAND_FOLDERS}\")\n", |
|
863 | 863 | "outputs": [], |
864 | 864 | "source": [ |
865 | 865 | "parent_experiment_config = {\n", |
866 | | - " \"parent_experiment_id\": \"piControl-spinup\", # <-- This is for placeholder.\n", |
| 866 | + " \"parent_experiment_id\": \"piControl-spinup\", # <-- This is for placeholder.\n", |
867 | 867 | " \"parent_activity_id\": \"CMIP\",\n", |
868 | | - " \"parent_source_id\": \"ACCESS-ESM1-5\", # <-- ACCESS-ESM1-6 is not yet registered in the CMIP6 catalog, so we use ACCESS-ESM1-5 as a placeholder\n", |
| 868 | + " \"parent_source_id\": \"ACCESS-ESM1-5\", # <-- ACCESS-ESM1-6 is not yet registered in the CMIP6 catalog, so we use ACCESS-ESM1-5 as a placeholder\n", |
869 | 869 | " \"parent_variant_label\": \"r1i1p1f1\",\n", |
870 | 870 | " \"parent_time_units\": \"days since 0001-01-01 00:00:00\",\n", |
871 | 871 | " \"parent_mip_era\": \"CMIP6\",\n", |
872 | | - " \"branch_time_in_child\": 0.0, # <-- This is for placeholder. The actual branch time in child should be the time of the first time step in the input data, converted to the parent time units.\n", |
873 | | - " \"branch_time_in_parent\": 54786.0, # <-- This is the branch time in parent for the December Spin-up run, which is the time of the first time step in the input data (1850-12-01), converted to the parent time units (days since 0001-01-01).\n", |
| 872 | + " \"branch_time_in_child\": 0.0, # <-- This is for placeholder. The actual branch time in child should be the time of the first time step in the input data, converted to the parent time units.\n", |
| 873 | + " \"branch_time_in_parent\": 54786.0, # <-- This is the branch time in parent for the December Spin-up run, which is the time of the first time step in the input data (1850-12-01), converted to the parent time units (days since 0001-01-01).\n", |
874 | 874 | " \"branch_method\": \"standard\",\n", |
875 | 875 | "}" |
876 | 876 | ] |
|
904 | 904 | " input_data=files,\n", |
905 | 905 | " compound_name=\"Amon.rsds\",\n", |
906 | 906 | " experiment_id=\"piControl-spinup\",\n", |
907 | | - " source_id=\"ACCESS-ESM1-5\", # <-- ACCESS-ESM1-6 is not yet registered in the CMIP6 catalog, so we use ACCESS-ESM1-5 as a placeholder\n", |
| 907 | + " source_id=\"ACCESS-ESM1-5\", # <-- ACCESS-ESM1-6 is not yet registered in the CMIP6 catalog, so we use ACCESS-ESM1-5 as a placeholder\n", |
908 | 908 | " variant_label=\"r1i1p1f1\",\n", |
909 | 909 | " grid_label=\"gn\",\n", |
910 | 910 | " activity_id=\"CMIP\",\n", |
|
1157 | 1157 | "\n", |
1158 | 1158 | "# Find ocean salinity files using the utility function with explicit paths\n", |
1159 | 1159 | "ocean_files = get_monthly_ocean_files(\n", |
1160 | | - " \"Omon.so\", \n", |
1161 | | - " root_folder=ROOT_FOLDER,\n", |
1162 | | - " target_folders=OCEAN_FOLDERS\n", |
| 1160 | + " \"Omon.so\", root_folder=ROOT_FOLDER, target_folders=OCEAN_FOLDERS\n", |
1163 | 1161 | ")\n", |
1164 | 1162 | "print(f\"Ocean files: {ocean_files[:2]}...\") # Show first 2 files" |
1165 | 1163 | ] |
|
1388 | 1386 | " grid_label=\"gn\",\n", |
1389 | 1387 | " activity_id=\"CMIP\",\n", |
1390 | 1388 | " parent_info=parent_experiment_config,\n", |
1391 | | - " cmip_version=\"CMIP7\" # <---- Explicit CMIP7 support (Default is still CMIP6)\n", |
| 1389 | + " cmip_version=\"CMIP7\", # <---- Explicit CMIP7 support (Default is still CMIP6)\n", |
1392 | 1390 | ")\n", |
1393 | 1391 | "\n", |
1394 | 1392 | "# Display the CMIP7 variable mapping\n", |
|
0 commit comments