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

Access issue with restart files of GCHP 14.3.2 #401

Closed
lma6 opened this issue Apr 15, 2024 · 10 comments
Closed

Access issue with restart files of GCHP 14.3.2 #401

lma6 opened this issue Apr 15, 2024 · 10 comments

Comments

@lma6
Copy link

lma6 commented Apr 15, 2024

Name and Institution (Required)

Name: Lei Ma
Institution: UMD

Confirm you have reviewed the following documentation

Description of your issue or question

Please provide as much detail as possible. Always include the GCHP version number and any relevant configuration and log files.

I recently downloaded GCHP v14.3.2, and encountered issues when attempting to run carbon/CO2 only simulation. I was unable to access the necessary restart file (GEOSChem.Restart.carbon.20190101_0000z.c24.nc4) from http://geoschemdata.wustl.edu/ExtData/GEOSCHEM_RESTARTS/v2023-01/ due to forbidden access errors. I am unsure whether the restart files are not yet available for use or if this is a bug.

Alternatively, I tried to spin up to generate the restart file. For this, I turned off Require_Species_in_Restart, but encountered errors (can provide rc and log files if necessary). Could you advise on the correct procedure to spin up the model when no restart files are provided?

Thank you all!

@lizziel
Copy link
Contributor

lizziel commented Apr 16, 2024

Hi @lma6, thanks for writing. The carbon simulation is not yet available in GCHP. See #339 to track progress. We plan to release it as part of GCHP 14.4.0 at which point there will be GCHP carbon restart files available.

@lizziel lizziel closed this as completed Apr 16, 2024
@lma6
Copy link
Author

lma6 commented Apr 16, 2024

@lizziel Thanks you so much!

How about "CO2 w/ CMS-Flux emissions & MERRA2"? Is the simulation available? If so, which restart files should be used? I searched through all subdirectories of GEOSCHEM_RESTARTS, and just could not find one matching "GEOSChem.Restart.20190701_0000z.c24.nc4".

@lizziel
Copy link
Contributor

lizziel commented Apr 16, 2024

The GCHP CO2 simulation has been available for testing but is not yet supported. Your quotes around "CO2 w/ CMS-Flux emissions & MERRA2" indicate you got it from documentation. Could you point me to that?

It turns out carbon restart files for GCHP were generated but are not synced to the WashU location for download. We will work on getting those to WashU. The carbon simulation in GCHP prior to 14.4, however, is beta and not validated.

Also note that you can generate GCHP restart files from GC-Classic restart files following instructions on GCPy ReadTheDocs.

@lizziel
Copy link
Contributor

lizziel commented Apr 16, 2024

The files should be available at http://geoschemdata.wustl.edu/ExtData/GEOSCHEM_RESTARTS/v2023-01/. Could you try again to download?

@lizziel lizziel reopened this Apr 16, 2024
@lma6
Copy link
Author

lma6 commented Apr 16, 2024

The "CO2 w/ CMS-Flux emissions & MERRA2" is not from any documentation; it refers to the simulation settings chosen when running 'createRunDir.sh'. Specifically, selecting '3. CO2 with CMS-Flux emissions' as the simulation type and '1. MERRA-2' for meteorology. Apologies for any confusion. So this simulation is still under testing?

I received a 'Forbidden' error when attempting to access the file http://geoschemdata.wustl.edu/ExtData/GEOSCHEM_RESTARTS/v2023-01/GEOSChem.Restart.carbon.20190101_0000z.c24.nc4.

Could you advise on how to configure GC-Classic to generate the restart files? Should I just disable 'GC_RESTART' in the HEMCO_Config file? Then use GCPy to convert it to c24 type? I wonder if there is detailed tutorials about this.

Thank you!!!

@lizziel
Copy link
Contributor

lizziel commented Apr 17, 2024

Hi @lma6, you should be able to download the carbon restart file and we should fix it if you can't. What command are you using to download. Tagging @yidant who can help if there are permissions issues at WashU.

Yes, the CO2 with CMS-Flux emissions option was a specialty simulation added by someone in the GEOS-Chem community for GCHP adjoint testing. Apologies for the confusion. In retrospect I think we should have added a note that it is not supported. Feel free to try to use it but I would recommend waiting for the GCHP carbon simulation release in 14.4.0 which is just a month or so away.

@lizziel
Copy link
Contributor

lizziel commented Apr 17, 2024

Could you advise on how to configure GC-Classic to generate the restart files? Should I just disable 'GC_RESTART' in the HEMCO_Config file? Then use GCPy to convert it to c24 type? I wonder if there is detailed tutorials about this.

GC-Classic runs will generate GC-Classic restart files, and you can convert any of them to GCHP restart files by regridding using the GCPy python package. See my earlier link to GCPy ReadTheDocs page on regridding. You can also take the default restart file for GC-Classic and regrid that for GCHP, thereby bypassing running GC-Classic. Note that the GC-Classic and GCHP restart files have differences beyond horizontal grid, such as the direction of the vertical grid (GCHP restart TOA is level 1 while GC-Classic surface is level 1) and variables names (GCHP uses prefix SPC_ for all species). For this reason you should convert the files using GCPy.

@lma6
Copy link
Author

lma6 commented Apr 17, 2024

I tried to downloaded it using wget. Please see the attached screenshot for the error.

Thank you for clarifying the CO2 aspects with the CMS-Flux simulation.

I successfully ran GC-Classic to generate restart files this morning, but I still encountered a 'Segmentation fault' error when running gcpy.file_regrid to convert the data to either a c24 cubed-sphere or a lat-lon grid. I will try to debug this issue first.

Screenshot 2024-04-17 at 10 32 47 AM

@yidant
Copy link
Contributor

yidant commented Apr 17, 2024

Hi @lma6 ! I re-uploaded these files. I wouldn't receive any error now. Could you try downloading again?

@lma6
Copy link
Author

lma6 commented Apr 17, 2024

@yidant It works now. Thank you!
@lizziel I think you can close this issue. Thank you so much for the help!!!

@lizziel lizziel closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants