Comments (8)
Hi @YanshunLi-washu, thanks for reaching out about this. The time template for daily input data would look like this, assuming you are not time-interpolating between data entries in the file.
F%y4-%m2-%d2T00:00:00
If you want to time-interpolate then you can drop the F
at the start of the string. Since this is not monthly climatology you should put N
in the clim column.
Do you need help with any additional columns? It may be helpful to look at the example of AEIC which is daily data, although that inventory is monthly climatology so slightly different. There are also instructions for setting entries in ExtData.rc
on the ExtData.rc page of GCHP ReadTheDocs, as well as at the top of the ExtData.rc
file itself. You can also post what you are putting in ExtData.rc
and we can let you know if we see any issues.
Several of the fields in HEMCO_Config.rc
are ignored in GCHP since MAPL handles file input and data regridding. However, the file is still needed for the masking, scaling, and hierarchy information which HEMCO will apply online. The ignored columns are also still needed to avoid a parsing problem in HEMCO. A complete list of what is used versus what is not is on the HEMCO_Config.rc page of GCHP ReadTheDocs.
from gchp.
Hi @lizziel , thanks for the helpful response!
(1)To clarify, the example line I showed is a hourly inventory just organized as daily files, there is the info doing ncdump for one of the NEI2011 hourly inventory file:
ncdump -h NEI11_0.1x0.1_20110116.nc
netcdf NEI11_0.1x0.1_20110116 {
dimensions:
time = 24 ;
lat = 400 ;
lon = 900 ;
variables:
float time(time) ;
time:calendar = "standard" ;
time:units = "hours since 2011-01-16 00:00:00" ;
time:long_name = "Time" ;
float CO(time, lat, lon) ;
CO:molecular_weight_g_mol = "28" ;
CO:NEI11_name = "CO" ;
CO:var_desc = "Model species CO " ;
CO:units = "kg/m2/s" ;
CO:long_name = "CO " ;
CO:remap = "remapped via ESMF_regrid_with_weights: Conservative remapping" ;
As you can see the time dimension is 24.
So I'm still interested in how to set refresh time template, I believe F%y4-%m2-%d2T00:00:00 is probably not the case for this one.
(2)Also thanks for mentioning the monthly climatology column and the AEIC example, such as below.
AEIC19_DAILY_NO kg/m2/s **2019** Y F%y4-%m2-%d2T00:00:00 none none NO ./HcoDir/AEIC2019/v2022-03/2019/%m2/AEIC_2019%m2%d2.0.5x0.625.36L.nc
I'm confused why can it put '2019' to a yes or no column.
Besides, for CEDSv2, as below:
CEDS_NO_AGR kg/m2/s **N** Y F%y4-%m2-01T00:00:00 none none NO_agr ./HcoDir/CEDS/v2021-06/%y4/NO-em-anthro_CMIP_CEDS_%y4.nc
I'm also curious why CEDS is not a monthly climatology, as CEDS is a typical monthly inventory to me. Maybe I misunderstood what monthly climatology mean here. Happy to know more about it.
Anyway for the NEI2011 hourly I mentioned, I guess I should put a N for the monthly climatology column?
Yanshun
from gchp.
Hi Yanshun, for hourly you can use the hourly token %h2
in place of 00
for hour. Please let me know if this is not clear from the docs. It should be shown at the top of ExtData.rc
in the comments as well as on ReadTheDocs.
Climatology is a bit confusing in MAPL. Climatology is defined as an annual data set that is used for all years. The case of CEDS has monthly values but files for different years, and so is not considered climatology. There are two ways of specifying climatology in ExtData.rc, either putting year in the clim column (used for daily data) or putting Y. If Y is used then the year should be hard-coded in the time template, e.g. F2019-%m2-01T00:00:00. Again, let me know if this is not clear in the docs. It is discussed in the "Refresh" section of the ExtData.rc page on GCHP ReadTheDocs.
Please note that the rather illogical way of configuring ExtData is due to historical baggage as additional features were added to MAPL. When we update to MAPL 3 in GCHP v15 we will used ExtData2G (2nd generation ExtData) which was written to be more logical and easy to configure via a yaml file.
For your hourly NEI data, do you have multiple years or files for different years?
from gchp.
Hi @lizziel Thanks for the explanation. For my hourly NEI data I only have daily files with hourly emission fields for 2011, but I intended to use annual scaling factors in HEMCO_Config.rc to scale to my target year, probably be 2019 or 2021.
In this case, not sure if I should put Y or N or just 2011?
In the docs, I think they're clear. It can be better if there are more examples.
from gchp.
Hi @YanshunLi-washu, you can put N for climatology and use 2011 in the Refresh string. You can actually do this for monthly climatology too, but I believe the climatology option is written to improve performance.
from gchp.
@YanshunLi-washu, are you all set with this issue?
from gchp.
Hi @lizziel Thank you so much for your suggestions! I'm conducting a test running following your suggestions! Should be all good if the results of the model makes sense.
from gchp.
I will close out this issue now. @YanshunLi-washu, if there are still problems let us know.
from gchp.
Related Issues (20)
- 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
- 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
- GCHP Carbon and CO2 simulations HOT 3
- MAPL submodule updates HOT 1
- GCHP Aerosol Mass Cannot Simulate own Emission Inventories HOT 18
- Transporting species initialized in a gridded component outside GeosChem HOT 3
- ERROR: cannot find export DryPLEPut a one-line description here HOT 5
- Use of bashdatacatalog to find invalid files HOT 4
- Requested sample not found in file HOT 5
- Retire simulation type "CO2 w/ CMS-Flux emissions" from GCHP run directory creation
- Carbon simulation - new restart files needed for GCHP HOT 13
- country mask file not working for masking emissions in gchp HOT 11
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.