Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in mksurfdata_esmf in cesm tags #2658

Open
adamrher opened this issue Jul 23, 2024 · 1 comment
Open

error in mksurfdata_esmf in cesm tags #2658

adamrher opened this issue Jul 23, 2024 · 1 comment
Labels
bfb bit-for-bit bug something is working incorrectly good first issue simple; good for first-time contributors test: mksurfdata Test mksurfdata_esmf before merging

Comments

@adamrher
Copy link
Contributor

Brief summary of bug

In cesm tags, the mksurfdata_esmf tools "gen_mksurfdata_namelist" gives an error that it can't find the correct ccs_config directory. It seems to think that ccs_config is located at cesm/components/clm/ccs_config/ when it's actually located at cesm/ccs_config/ in cesm tags.

General bug information

cesm3_0_beta01

Details of bug

Error message:

(npl) 1016 /glade/u/home/aherring> ./gen_mksurfdata_namelist --res ne0np4.ARCTIC.ne30x4 --start-year 1979 --end-year 1979 --model-mesh $work/grids/var-res/ne0np4.ARCTIC.ne30x4/grids/ne0ARCTICne30x4_esmf_c200727.nc --model-mesh-nx 117398 --model-mesh-ny 1
Traceback (most recent call last):
  File "/glade/campaign/cgd/amp/aherring/src/cesm3_0_beta01/components/clm/tools/mksurfdata_esmf/./gen_mksurfdata_namelist", line 34, in <module>
    main()
  File "/glade/campaign/cgd/amp/aherring/src/cesm3_0_beta01/components/clm/tools/mksurfdata_esmf/../../python/ctsm/toolchain/gen_mksurfdata_namelist.py", line 329, in main
    determine_output_mesh(res, force_model_mesh_file, input_path, rawdata_files)
  File "/glade/campaign/cgd/amp/aherring/src/cesm3_0_beta01/components/clm/tools/mksurfdata_esmf/../../python/ctsm/toolchain/gen_mksurfdata_namelist.py", line 760, in determine_output_mesh
    tree2 = ET.parse(xml_path)
            ^^^^^^^^^^^^^^^^^^
  File "/glade/u/apps/opt/conda/envs/npl/lib/python3.11/xml/etree/ElementTree.py", line 1218, in parse
    tree.parse(source, parser)
  File "/glade/u/apps/opt/conda/envs/npl/lib/python3.11/xml/etree/ElementTree.py", line 569, in parse
    source = open(source, "rb")
             ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/glade/campaign/cgd/amp/aherring/src/cesm3_0_beta01/components/clm/cime/../ccs_config/component_grids_nuopc.xml'
@ekluzek ekluzek added the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Jul 23, 2024
@ekluzek ekluzek added this to the ctsm5.3.0 milestone Jul 23, 2024
@ekluzek ekluzek added the bug something is working incorrectly label Jul 23, 2024
@wwieder
Copy link
Contributor

wwieder commented Aug 8, 2024

You're right @adamrher, we can't currently run mksurfdata_esmf from CESM tags. This is something we need to support for the CESM3 release

@wwieder wwieder removed the next this should get some attention in the next week or two. Normally each Thursday SE meeting. label Aug 8, 2024
@samsrabin samsrabin added simple bfb bit-for-bit and removed simple bfb labels Aug 8, 2024
@samsrabin samsrabin added test: mksurfdata Test mksurfdata_esmf before merging good first issue simple; good for first-time contributors and removed support tools only labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bfb bit-for-bit bug something is working incorrectly good first issue simple; good for first-time contributors test: mksurfdata Test mksurfdata_esmf before merging
Projects
None yet
Development

No branches or pull requests

4 participants