8000 Modis lidar bug fix by dustinswales · Pull Request #4 · CFMIP/COSPv1 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Modis lidar bug fix #4

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

Merged
merged 3 commits into from
Sep 17, 2018
Merged

Modis lidar bug fix #4

merged 3 commits into from
Sep 17, 2018

Conversation

dustinswales
Copy link
Contributor

Recently some small issues were uncovered by modeling centers implementing COSP1.4.2. and I propose we include these changes on the COSP1 master branch.

*) In the LIDAR simulator there was a division-by-zero for scenes for really thick clouds. This does not impact any of the CALIPSO LIDAR diagnostics

*) In the MODIS simulator, some of the gridmean diagnostics were being set to zero for clear scenes, when they should have been set to undefined. This impacted the averaging being performed by the model, resulting in much large values than expected. In the offline tests, we see the following:
lwpmodis: 69.28 % of values differ, relative range: -5.19e-01 to 3.00e+00
tautlogmodis: 9.15 % of values differ, relative range: -8.96e-01 to 1.43e+00
iwpmodis: 34.64 % of values differ, relative range: -1.16e-01 to 4.26e-01
tauimodis: 0.65 % of values differ, relative range: 1.03e-01 to 1.03e-01
tauwmodis: 8.50 % of values differ, relative range: -5.66e-01 to 3.10e+00
tautmodis: 9.15 % of values differ, relative range: -5.66e-01 to 3.10e+00
reffclimodis: 34.64 % of values differ, relative range: -2.24e-01 to 4.26e-01
reffclwmodis: 69.28 % of values differ, relative range: -1.85e-01 to 3.21e-01
tauwlogmodis: 8.50 % of values differ, relative range: -8.96e-01 to 1.43e+00
clwmodis: 8.50 % of values differ, relative range: -8.00e-01 to 6.67e-01
cltmodis: 9.15 % of values differ, relative range: -8.00e-01 to 1.76e-01
cllmodis: 5.88 % of values differ, relative range: -8.00e-01 to -2.50e-01
climodis: 0.65 % of values differ, relative range: -1.43e-01 to -1.43e-01
clhmodis: 1.31 % of values differ, relative range: -1.25e-01 to 2.14e-01
pctmodis: 9.15 % of values differ, relative range: -4.26e-01 to 1.05e-01
tauilogmodis: 0.65 % of values differ, relative range: 6.50e+00 to 6.50e+00
clmodis: 0.04 % of values differ, relative range: -3.33e-01 to 6.00e-01

For both cases, diagnostics requested for CFMIP3/CMIP6 are not impacted.

@klein21
Copy link
klein21 commented Apr 5, 2018

Dustin,

I thought we had already approved this. Or maybe this was COSP2, and not COSP1?

While the changes look fine to me, I don't recall if we decided how we were going to treat any further changes to COSP1. Did we agree on that? Namely, the issue of whether we would make a separate release, calling this v1.4.3 for example, so that user can revert to 1.4.2 if they so chose.

After all we put a lot of effort into making it clear to the community their options regarding version (i.e. the cospVersionTable) and I wouldn't want new confusion to arise if the code for 1.4.2 suddenly differs from the code that was in 1.4.2 on the date (1 Feb 2018) we announced the previous MODIS bug fix.

It is unfortunate, but I suspect necessary that once we have created a v1.4.3 that we will need to announce it to the community again.

Robert, Alejandro do you agree?

Steve

@RobertPincus
Copy link
Contributor
RobertPincus commented Apr 5, 2018 via email

@klein21
Copy link
klein21 commented Apr 5, 2018 via email

@RobertPincus
Copy link
Contributor
RobertPincus commented Apr 5, 2018

For the record, the discussion that went to the PMC is below.

This pull release resolve the issues identified by Levi Silvers at GFDL and Jean-Louis Dufrense at LMD. Neither of these errors affect any diagnostics requested for CFMIP 3.

To remind you, Levi identified the potential for divide-by-zero in the MODIS and lidar simulators. As these errors only occur when no clouds are present the resulting non-sensical values are given zero weight in the statistics. Jean-Louis identified errors in the MODIS computations of high, middle, and low cloud fractions. These variables are not part of the CFMIP request.

Dustin has combed through the COSP 2 code and found one other change which did not propagate to COSP 1: the MISR simulator is very modesty sensitive to domain decomposition. In March 2017 we decided to leave this bug in place in COSP 1 (https://groups.google.com/forum/#!topic/cosp-pmc/CmROkfgWuuA).

The pull request opened by Dustin fixes the bugs identified by Levi and Jean-Louis. It does not fix the MISR bug.

We would propose bringing these changes onto the trunk of COSP 1 and making a new release. In the release announcement we would note that the release does not change any answers requested for CFMIP3/CMIP6. Upgrading is only useful to those who want to use the MODIS low/mid/high cloud fractions or who are being inconvenienced by the divide-by-zero.

We could also opt to fix the MISR bug. The results will change MISR answers to a very small degree.

@alejandrobodas
Copy link

Hi @dustinswales , please can you merge this request? I don't seem to have write permissions for this repository (I think I do for COSPv2). Thanks!

@dustinswales dustinswales merged commit 08f4cce into master Sep 17, 2018
@alejandrobodas
Copy link

Hi @dustinswales please can you label this commit as v1.4.3? As discussed in the last PMC call, I'll announce the new releases in the users list. Thanks!

@dustinswales
Copy link
Contributor Author

@alejandrobodas. Done. Thanks!

@dustinswales dustinswales deleted the modisLidarBugFix branch September 18, 2018 15:50
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
0