Skip to content
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

Add ozone W126 #137

Merged
merged 13 commits into from
Jul 8, 2024
Merged

Add ozone W126 #137

merged 13 commits into from
Jul 8, 2024

Conversation

angehung5
Copy link
Collaborator

#124
SE example files updated. README is also updated by adding a brief description of w126. Please check if that is correct.

@drnimbusrain
Copy link
Member

drnimbusrain commented Jul 8, 2024

@angehung5 do you think it's ok to leave values over ocean as zeros? Or should I replace with nans? How does the other canopy variable treat this? This is a question from @MaggieMarvin

@drnimbusrain
Copy link
Member

@angehung5 Also, even though I haven't added the canopy-app code changes to read in W126, does your changes here work ok in testing both default NC and TXT examples with the new data there?

@drnimbusrain
Copy link
Member

@MaggieMarvin I think you should also review these changes quickly.

@angehung5
Copy link
Collaborator Author

@MaggieMarvin It should be ok to leave oceans as zeros. I will change them to zeros anyway since nans may break the code, unless you want to put other values (e.g. -999).

@drnimbusrain Yes, it should work. I just add a new variable to the files, nothing else changes.

lat,lon,ch,ugrd10m,vgrd10m,clu,lai,vtype,canfrac,fricv,csz,sfcr,mol,frp,href,sotyp,pressfc,dswrf,shtfl,tmpsfc,tmp2m,spfh2m,hpbl,prate_ave,soilw1,soilw2,soilw3,soilw4,wilt
34.03,272.11,20.8692,-0.7485,0.3286,0.5214,3.7059,4,0.2966,0.1107,0.0416,0.8260,12.2366,0.0000,10.00,3,99731.6094,10.1607,-9.8159,292.9766,293.2202,0.0146,14.0288,0.0001,0.2591,0.2053,0.2134,0.2132,0.0470
lat,lon,ch,ugrd10m,vgrd10m,clu,lai,vtype,canfrac,fricv,csz,sfcr,mol,frp,href,sotyp,pressfc,dswrf,shtfl,tmpsfc,tmp2m,spfh2m,hpbl,prate_ave,soilw1,soilw2,soilw3,soilw4,wilt,ozone_w126
34.03,272.11,20.8692,-0.7485,0.3286,0.5214,3.7059,4,0.2966,0.1107,0.0416,0.8260,12.2366,0.0000,10.00,3,99731.6094,10.1607,-9.8159,292.9766,293.2202,0.0146,14.0288,0.0001,0.2591,0.2053,0.2134,0.2132,0.0470,85
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it always rounded to the closest integer?

@drnimbusrain
Copy link
Member

drnimbusrain commented Jul 8, 2024 via email

@angehung5
Copy link
Collaborator Author

According to EPA's definition (https://www.epa.gov/sites/default/files/2015-09/documents/w126_steps_to_calculate_revised_feb19.pdf), W126 could be floating numbers but they all integers in the file /groups/NA22OAR/pcampbe8/gfsv16_ozone_w126/gfsv16_ozone_w126_042021-042024.nc.
@MaggieMarvin Could you double check? Thanks!

Copy link
Collaborator

@MaggieMarvin MaggieMarvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me! The input NC files have correct values and the test case runs just fine - just needs typo fix "later" to layer in README (line 173)

@MaggieMarvin
Copy link
Collaborator

Thanks Wei-Ting! In the very last step the guidance is to round to the nearest whole number so that's what I've done here

@drnimbusrain
Copy link
Member

drnimbusrain commented Jul 8, 2024 via email

@MaggieMarvin
Copy link
Collaborator

Yes! For both gridded and point test cases

Copy link
Member

@drnimbusrain drnimbusrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just small typo correction. approved.

README.md Outdated Show resolved Hide resolved
@drnimbusrain drnimbusrain merged commit 0052250 into noaa-oar-arl:develop Jul 8, 2024
4 checks passed
@drnimbusrain
Copy link
Member

@angehung5 @MaggieMarvin I merged, but seeing some strange values in the SE example files:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants