-
Notifications
You must be signed in to change notification settings - Fork 11
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
Missing dp for ideal simulation #8
Comments
Thanks for reaching out, Niki! I haven't used the ideal column simulations for a while - it seems that Thanks, |
Hi Niki - bug fixed. Try downloading the latest scripts and let me know if it works now. =) - Dien |
I am now getting the following error when I attempt the ideal case: Error in if (nchar(tmp_timestr) == 8) ff = "%Y%m%d" : I have already downloaded hrrr met data files for the day before through the day after. I am trying to run for Toronto 20240912. Also, I am having problems running the slant column footprint and trajectories with EM27 data. I have a ggg public netcdf with EM27 retrievals, when I run it with obs_sensor = 'EM27' I get: and when I run with obs_sensor = 'TCCON', I get: Output dir - /home/njacobs/X-STILT/XSTILT_output/UTSG/out_2024091200_hrrr_TCCON I guess you are still working on setting it to run with the EM27 data? Though I saw that it was used with EM27 data in Mexico City already. |
Ah, I suppose for my testing ideal runs, my Yes - I don't have the scripts customized for EM27 yet. For the Mexico City analysis, Ke Che did her own code modifications using X-STILT. And, we have been chatting to merge hers. Could you point me to the ggg public netcdf with EM27 retrieval? Do they share similar data format as TCCON? For the TCCON, let me check the subroutine for reading TCCON files. I will make this the priority! =) |
Okay, my runs for Lamont TCCON on July 1, 2020, seemed to work well with a particle.rds file generated (with slant column correction in receptor locations) - no bug with grab_tccon. I suspect the Essentially the subroutine Here is my output running TCCON: Output dir - /central/groups/POW/XSTILT_output/Lamont/out_2020070120_hrrr_TCCON NO horizontal wind error component for generating trajec... Initializing X-STILT |
Niki, for the ideal simulation - I fixed the download.met.arl and the main script to let it grab Dien |
Hi Dien, sorry for the slow reply. It seems like the ideal case is running fine. I still get these warnings: It did generate footprints though. |
Hi Niki, you can ignore this warning. It sometimes occurred when met fields especially HRRR have a certain missing variable. For working TCCON, I am using the public qc file with contains xco2_x$YYYY. But we can do a quick change to the subroutine (to bypass reading xCO2 from column obs) since extracting xCO2 from TCCON is not necessary when running trajectories. Let me know what you prefer. - Dien |
Hi,
I am new to X-STILT and I thought I had all the necessary inputs for the ideal column simulation and footprint generation. I am getting the following output:
Running simulation ID: 202409121900_-79.1876_43.7843_X
before_trajec_xstilt(): extracting meteo vars from meteo fields...
[1] "2024-09-12 19:00:00 UTC"
get.met.vars(): found meteo files of /home/njacobs/X-STILT/met_data/hrrr/20240912_18-23_hrrr
END of before_trajec_xstilt(), start calculating X-trajectories...
before_footprint_xstilt(): footprint weighting assuming AK = 1 (no satellite dependencies)
Error in mutate(., xdry = (1 - q)/g/Mdry * dp * 100, pwf = xdry/xdry.tot) :
ℹ In argument:
xdry = (1 - q)/g/Mdry * dp * 100
.Caused by error:
! object 'dp' not found
In addition: Warning message:
There was 1 warning in
mutate()
.ℹ In argument:
sigma = *...
.Caused by warning in
sqrt()
:! NaNs produced
It is looking for dp, but I am trying to run without the dependence on satellite data, so where should it be getting dp from?
I would greatly appreciate some guidance.
Thanks!
The text was updated successfully, but these errors were encountered: