Skip to content

Commit

Permalink
Reverted to intended 'rhod' reading
Browse files Browse the repository at this point in the history
  • Loading branch information
jrjoshi1 committed Feb 26, 2025
1 parent 7cf6f60 commit e3b264f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Process_Library/GOCART2G_MieMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module GOCART2G_MieMod
real, pointer :: pmom(:,:,:,:,:) => Null() ! (r,c,b,m,p) moments of phase function
real, pointer :: gf(:,:) => Null() ! (r,b) hygroscopic growth factor
real, pointer :: rhop(:,:) => Null() ! (r,b) wet particle density [kg m-3]
real, pointer :: rhod(:,:) => Null() ! (r,b) wet particle density [kg m-3]
real, pointer :: rhod(:,:) => Null() ! (r,b) dry particle density [kg m-3]
real, pointer :: vol(:,:) => Null() ! (r,b) wet particle volume [m3 kg-1]
real, pointer :: area(:,:) => Null() ! (r,b) wet particle cross section [m2 kg-1]
real, pointer :: refr(:,:,:) => Null() ! (r,c,b) real part of refractive index
Expand Down Expand Up @@ -291,7 +291,7 @@ type(GOCART2G_Mie) function GOCART2G_MieCreate ( MieFile, wavelengths, nmom, rc
endif

! Dry particle density (will be pulled from wet particle radius)
rc = nf90_inq_varid(ncid,'rhod',ivarid)
rc = nf90_inq_varid(ncid,'rhop',ivarid)
if(rc .ne. NF90_NOERR) then ! not in table, fill in dummy variable
rhod_table = -999.
else
Expand Down

1 comment on commit e3b264f

@jrjoshi1
Copy link
Author

@jrjoshi1 jrjoshi1 commented on e3b264f Feb 26, 2025

Choose a reason for hiding this comment

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

Because 'rhod' is being pulled from 'rhop' (for relative humidity = 0), there should not be 'rhod' instead of 'rhop' (so I think it is not a spelling mistake!)

Please sign in to comment.