Giter Club home page Giter Club logo

Comments (7)

lizziel avatar lizziel commented on July 21, 2024

Thanks for writing, @ast222340. There should be another log with information about your PBS job, including reason for stopping, e.g. segmentation fault, running out of memory, or reaching time limit. Do you have that log? Did you check to see how slow your jobs were running? Your core count is very low which would make the model run slowly.

To convert C48 output to regular lat-lon grid you can use the regridding tools in python package GCPy. See https://gcpy.readthedocs.io/en/stable/Regridding.html. You can also configure HISTORY.rc to output a collection to a lat-lon grid. Information about how to do that is in the HISTORY.rc file and also described at https://gchp.readthedocs.io/en/stable/user-guide/config-files/HISTORY_rc.html and https://gchp.readthedocs.io/en/stable/user-guide/rundir-config.html#output-diagnostics-data-on-a-lat-lon-grid.

from gchp.

ast222340 avatar ast222340 commented on July 21, 2024

Thank you @lizziel.Waited for new simulation that's why don't reply.
I attached PBS and gchp log files.
gchp.20200901_0000z.log.txt
PBS.log.txt

From GCPy documentation page,
Regrid a 4x5 GEOS-Chem Classic restart or diagnostic file to a GEOS-Chem Classic 2x2.5 file
Regrid a 4x5 GEOS-Chem Classic restart or diagnostic file to a GCHP C24 restart file:
Regrid a GCHP C48 restart file to a GCHP stretched grid C48 restart file
Nowhere does it say o convert from GCHP output file to lat-lon,It would be great if you look at it again.

From HISTORY.rc file,
GRID_LABELS: #PE24x144-CF
#PC360x181-DC
#REGIONAL1x1
::

# Example of cubed-sphere grid at c24 resolution
PE24x144-CF.GRID_TYPE: Cubed-Sphere
PE24x144-CF.IM_WORLD: 24
PE24x144-CF.JM_WORLD: 144
PE24x144-CF.LM: 72

# Example of lat-lon global grid at 1x1 resolution
PC360x181-DC.GRID_TYPE: LatLon
PC360x181-DC.IM_WORLD: 360
PC360x181-DC.JM_WORLD: 181
PC360x181-DC.POLE: PC
PC360x181-DC.DATELINE: DC
PC360x181-DC.LM: 72

By default first option is whether to comment out or not,it is taken automatically during the simulation.
According to previous discussion if we want to convert GCHP output file to lat-lon then second option should be 'ON'.
The it becomes a simulation like GEOS-Chem Classic.Please solve this doubt?

from gchp.

lizziel avatar lizziel commented on July 21, 2024

Have you tried using GCPy function file_regrid to regrid GCHP cubed-sphere output file to lat-lon? The examples in GCPy are for restart files but I believe it works the same way for non-restart file out. I am tagging @yantosca since he is our GCPy regridding expert. Perhaps we need to add a note that the same method for restart files also works for regridding diagnostic output between GCHP cubed-sphere and lat-lon.

Using the grid labels to output a collection as lat-lon will not make the simulation like GEOS-Chem Classic. The model will still be run at the cubed-sphere grid resolution that you configure in setCommonRunSettings.sh. If you specify a grid label within the collection definition in HISTORY.rc then the data will be regridded to the grid defined by the grid label just prior to writing out to file. For the grid label to take effect it must be defined in HISTORY.rc and included within the GRID_LABELS list within HISTORY.rc as well.

from gchp.

yantosca avatar yantosca commented on July 21, 2024

@ast222340: Is there a reason you need to convert the GCHP output file from cubed-sphere to lat-lon? If you use the GCPy plotting routines you can create plots directly from the cubed-sphere files.

Yes, you should be able to regrid from cubed-sphere to lat-lon with the gcpy.file_regrid function as noted in the gcpy.readthedocs.io documentation.

from gchp.

ast222340 avatar ast222340 commented on July 21, 2024

Thank you @lizziel @yantosca.
I had a look at the GCPy documentation page.But their is no option cubic sphere grid convert to lat-lon.Which are present
Example 1: Standard Lat-Lon to Cubed-Sphere Regridding
Example 2: Standard Cubed-Sphere to Cubed-Sphere Regridding
Example 3: Standard to Stretched Cubed-Sphere Regridding
There is not mentioned about Cubeb-Sphere to lat-lon.It I have said something wrong,please correct me and tell me the correct thing.

There is no reason to convert.Actually,i f I convert to lat-lon,I get a lot of plotting benefits.Like I ran the model for 2020 C48 Global. Generated monthly output file.My plot is ready with the code that is in the GCPy documentation(Six-panel comparison plots).For my research purpose I am going to modify the plot. I want to plot annual PM25 average, Four season plot, mask the ocean part and need one colorbar.some statistics analysis.If the PM25 had been in Lat-Lon,I could have arranged these tasks very well for me.If would be nice if you could tell me how to do these plots.
https://gcpy.readthedocs.io/en/stable/Guide-to-Useful-Capabilities.html

from gchp.

lizziel avatar lizziel commented on July 21, 2024

GCPy includes several examples of regridding but they are not exhaustive. You should be able to extrapolate from the examples and the documentation for file_regrid function to generate lat-lon files from cubed-sphere.

You are welcome to adapt GCPy to your use case. However, the GEOS-Chem Support Team does not provide direct help coding in python for GEOS-Chem data analysis.

from gchp.

ast222340 avatar ast222340 commented on July 21, 2024

Thank you @lizziel.

from gchp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.