Comments (7)
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.
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.
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.
@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.
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.
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.
Thank you @lizziel.
from gchp.
Related Issues (20)
- Feature request: Update the docs/requirements.yml to avoid security issues w/ old python versions (used for ReadTheDocs) HOT 1
- Problem about compilation of GCHP HOT 11
- Wrong units for SLP and TROPP in preprocessed GEOS-IT ExtData.rc HOT 2
- Constant value for all grid boxes in Passive Tracer monthly mean diagnostic HOT 1
- Single column/grid subset mode? HOT 6
- Access issue with restart files of GCHP 14.3.2 HOT 10
- Stretched Grid Runs Failing with "Error calling DO_WETDEP" HOT 7
- Create Run Directory Problem with 14.2.2 and 14.2.3 container HOT 4
- Using gcchem_internal_checkpoint for grid-stretching simulation but fails with 'Factories not equal' error. HOT 15
- GCHP simulation stopped after 7 month simulation (total set time for 1 yr) HOT 9
- Wrong surface type field when using raw meteorology file HOT 7
- [SUBMODULE UPDATES] MAPL fix for restarting with stretched grid checkpoints HOT 1
- GCHP carbon simulations with CH4 take much longer than simulations without CH4 HOT 14
- Using a new inventory in ExtData.rc HOT 8
- GCHP 14.3.1 out of memory when writing checkpoint files HOT 12
- Error with CMIP6 file HOT 26
- ERROR during 'Initialize' stage of the gridded component 'EXTDATA' HOT 6
- Transport Budget Diagnostics at surface level for GCHP14.3.1 C180 simulation are all zero HOT 7
- error running carbon simulation HOT 16
- Segmentation fault - invalid memory reference in mapl_capmod_MOD_run_model HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gchp.