Open SumanClimate opened 3 months ago
Thanks for writing. The 13.2.1 version you are using is no longer supported. There have been some fixes to the ObsPack diagnostic module since then.
One thing I would recommend is to change "Quiet logfile output" from T to F. That will print out a lot of extra debug information to the log file. You can then see if the code is finding any observations. It could be that the file doesn't have observations for the time period that you are using.
Hi Bob Thank you very much for your quick reply. I understand that there is no support for GCClassic-13.2.1 as it is a bit old version. However, as you suggested, I did simulation with "Quiet logfile output" from T to F in version GCClassic-13.2.1 ------------------------+------------------------------------------------------ %%% OBSPACK MENU %%% : Turn on ObsPack diag? : T Quiet logfile output : F ObsPack input file : ./home/suman/GC-learn/obspack_co2_1_GLOBALVIEWplus_v6.0_2020-09-11/co2_oxk_surface-flask_1_representative.nc ObsPack output file : ./OutputDir/GEOSChem.ObsPack.nc4 ObsPack output species : CO2 ------------------------+------------------------------------------------------ Unfortunately, it didn't create any debug information in the log file. Please see here GC13.2.1.log
In addition, I repeated the same experiment on more recent version, GCClassic-14.4.0, but no solution. Please find here GC14.4.0.log
Moreover, I want to sample GeosChem model output for multiple ObsPack sites. How I can do that? Kindly comment. Your help is highly solicited.
I am sorry Bob, I made mistake at the ObsPack input file directory. I corrected and made simulation using version 13.2.1. Now I am able to produce the ObsPack output file. Kindly reply my third queries which is about sampling at multiple obspack sites.
Thanks for the reply @SumanClimate. To sample at multiple sites you could probably combine several ObsPack files into a single input file (using either Python or the netCDF utilities).
Also note @jhaskinsPhD and @eastjames have created packages that lets you customize an ObsPack input file. You could try customizing one of these to specify multiple sites in the same file. See:
Thank you Bob for your kind help. I will definitely check that later. However, I am facing couple of other issues and need your kind help. They are described below:
OBSPACK SAMPLING at 2019/07/02 20:10:00 Obs # ID string
4878 obspack_co2_1_GLOBALVIEWplus_v6.0_2020-09-11~co2_brw_surface-flask_1_representative~18584 4879 obspack_co2_1_GLOBALVIEWplus_v6.0_2020-09-11~co2_brw_surface-flask_1_representative~18585 These two data are valid on July 2, 2019 at 19:41 and 19:57
But still the output contain all zero. I have few points: i) Whether to consider time of the data in obspack at "start" or "middle" is decided based on the comment of the "time" variable in the netcdf file (line no. 480, obspack_mod.f90). But the text is used for searching ("midpoint of the averaging interval") in the fortran file is wrong. I checked that the comment used for "time" in the netcdf is following: "POSIX time. Number of seconds since January 1, 1970 in UTC. Time-averaged values are reported at the middle of the averaging interval." So, "midpoint of the averaging interval" will never happen and therefore Window_Start_Time will remain True which means although the obspack data demands to use the time at the middle of the interval, fortran code will consider it from the start of the interval. Please comment. ii) Even after changing that to middle of the interval, sampled data are all zero. I don't know where I am making mistake. I checked in GEOS-Chem/Interfaces/GCClassic/main.F90 that while inside of the dynamic timestamp do loop, "State_Diag" values are correct. However, after coming out of the dynamic timestamp loop and preparing for writing, "State_Diag" are all zero which indicate the out of the obspack diagnostic have all zero values. Kindly comment. I attach a zip file having all the necessary information and dataset to regenerate the simulation. Kindly check and comment. Geos-Chem14.4.0.zip Thank you.
Thanks for your patience @SumanClimate. Maybe we need to implement a fix to check for both "midpoint of the averaging interval" and "middle of the averaging interval" labels. With ObsPack there doesn't seem to be a data standard (according to @jhaskinsPhD) so it could be possible that some files use one label and other files use the other label.
Your name
Suman Maity
Your affiliation
NIES
Please provide a clear and concise description of your question or discussion topic.
Dear all I am pretty new to the GeosChem community. I was conducting CO2 simulation using GeosCheM-13.2.1. My input.geos is as follows:
Rest part is as usual. I didn't change the HEMCO_Config.rc and HEMCO_Diagn.rc. My HISTORY.rc is as follows: EXPID: ./OutputDir/GEOSChem
Rest part is same as default. I successfully completed the simulation and the checked the model output. Everything is okay. Now I need to sample the simulated concentration at the obspack observation. I did the following in the input.geos:
But, I didn't find any output after the simulation. Could you please help me where I am doing mistake? Also, if I want to sample at multiple sites, how I can do that? Your help is highly solicited.