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

GOCART AMIP Develop only runs on certain dates: SU volcanoes #293

Open
mathomp4 opened this issue Oct 8, 2024 · 7 comments · Fixed by #294
Open

GOCART AMIP Develop only runs on certain dates: SU volcanoes #293

mathomp4 opened this issue Oct 8, 2024 · 7 comments · Fixed by #294
Assignees
Labels
bug Something isn't working

Comments

@mathomp4
Copy link
Member

mathomp4 commented Oct 8, 2024

Updated issue

The Ops folks managed to copy over all the files, so that is a good thing. Ops emissions runs (where explosive is /dev/null) works.

However, there is now another issue. AMIP runs are currently limited to dates where explosive files exist.

For example, I tried to run AMIP on 2000-04-14 but the model crashes:

forrtl: severe (41): insufficient virtual memory
Image              PC                Routine            Line        Source
GEOSgcm.x          0000000003964A2B  Unknown               Unknown  Unknown
GEOSgcm.x          000000000393BC33  Unknown               Unknown  Unknown
GEOSgcm.x          0000000000E64924  gocart2g_process_       10471  GOCART2G_Process.F90
GEOSgcm.x          000000000092282F  su2g_gridcompmod_         864  SU2G_GridCompMod.F90
GEOSgcm.x          00000000009165FF  su2g_gridcompmod_         698  SU2G_GridCompMod.F90

My guess is that it is looking for a file for that day but none exists as there are only 19 files for the year 2000:

> ls -1 *2000*
 so2_explosive_volcanic_emissions_CARN_v202401.20000128.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000129.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000130.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000131.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000201.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000203.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000205.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000206.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000207.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000208.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000210.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000211.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000226.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000320.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000818.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000828.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20000928.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20001215.rc
 so2_explosive_volcanic_emissions_CARN_v202401.20001219.rc

If I edit the SU2G instance file to just hardcode in, say, the 20000818 file no matter the date, things run (I'm guessing a continuously exploding volcano might make a weird climate, but it runs).

I believe SU needs some sort of protection if an explosive file does not exist for a given date.


Old issue

The below was fixed by copying over files into main ExtData location.

Pinging @amdasilva and @pcolarco

Currently in develop we have for Ops emissions:

# Volcanic pointwise sources
volcano_srcfilen_explosive: /dev/null
volcano_srcfilen_degassing: ExtData/chemistry/CARN/v202401/so2_volcanic_emissions_CARN_v202401.degassing_only.rc

and for AMIP:

# Volcanic pointwise sources
volcano_srcfilen_explosive: ExtData/chemistry/CARN/v202401/explosive/so2_explosive_volcanic_emissions_CARN_v202401.%y4%m2%d2.rc
volcano_srcfilen_degassing: ExtData/chemistry/CARN/v202401/so2_volcanic_emissions_CARN_v202401.degassing_only.rc

There are two issues here.

  1. The degassing path is incorrect and needs a sfc/ directory after the v202401: ExtData/chemistry/CARN/v202401/sfc/so2_volcanic_emissions_CARN_v202401.degassing_only.rc
  2. The explosive files do not exist in the default ExtData area. I see them in $SHARE/dasilva/fvInput/ExtData/chemistry/CARN/v202401/explosive but they are not in $SHARE/gmao_ops/fvInput/ExtData/chemistry/CARN/v202401/
@mathomp4 mathomp4 added the bug Something isn't working label Oct 8, 2024
@mathomp4 mathomp4 self-assigned this Oct 8, 2024
@mathomp4
Copy link
Member Author

mathomp4 commented Oct 8, 2024

Oh wait. Maybe we don't need to fix this but need to organize files correctly. Let me reach out to the ops folks.

@pcolarco
Copy link
Contributor

pcolarco commented Oct 8, 2024 via email

@mathomp4 mathomp4 changed the title GOCART Develop currently does not run: SU volcanoes GOCART AMIP Develop only runs on certain dates: SU volcanoes Oct 8, 2024
@mathomp4
Copy link
Member Author

mathomp4 commented Oct 8, 2024

@pcolarco et al

An update. So, the Ops groups copied over the files and the good news is Ops emissions can run without changes. The problem now is AMIP doesn't run on some days. I'm updating the main comment above about this.

@jrjoshi1
Copy link

jrjoshi1 commented Oct 8, 2024

FYI @pcolarco and others: my test for GOCART-develop ran without crashing for the tested one day, after adding a control to check the volcanic-file's existence. BUT the code did not read any of the volcanic files (regardless their existence) perhaps because the 'fname' was not defined (e.g., here

call StrTemplate(fname, self%volcano_srcfilen_degassing, xid='unknown', &
). Will be testing by defining fname ...

@jrjoshi1
Copy link

jrjoshi1 commented Oct 9, 2024

update: defining 'fname' in the code worked, the model now read in the degassing files (the test was with AMIP emissions for 2000-04-14)

@mathomp4
Copy link
Member Author

mathomp4 commented Oct 9, 2024

update: defining 'fname' in the code worked, the model now read in the degassing files (the test was with AMIP emissions for 2000-04-14)

@jrjoshi1 Once you have a PR, let me know and I'll test it as well. Thanks!

@jrjoshi1
Copy link

@mathomp4 I have a PR now: #294. Thanks.

@mathomp4 mathomp4 linked a pull request Oct 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants