debasish@gi_alaska_edu
New Member
Dear Sam,
According to your advice, I checked in the program SurfaceAlbedoMod.F90 and I found examples that make use of the correspondence between p and gridcell (g).
do p = lbp, ubp
g = pgridcell(p)
coszen_pft(p) = coszen_gcell(g)
end do
The dimension of my albedo change is 8192 (lon=128Xlat=64) gridcells but when I use the above mentioned conversion, I will get NaNS values in place of real values.
do p =lbp, ubp
g1 = pgridcell(p) ! g1 varies from 1 to 8192
alpha_pft(p)=alpha(g1)
end do
Any clue regarding the error?
Thanks
Debasish
According to your advice, I checked in the program SurfaceAlbedoMod.F90 and I found examples that make use of the correspondence between p and gridcell (g).
do p = lbp, ubp
g = pgridcell(p)
coszen_pft(p) = coszen_gcell(g)
end do
The dimension of my albedo change is 8192 (lon=128Xlat=64) gridcells but when I use the above mentioned conversion, I will get NaNS values in place of real values.
do p =lbp, ubp
g1 = pgridcell(p) ! g1 varies from 1 to 8192
alpha_pft(p)=alpha(g1)
end do
Any clue regarding the error?
Thanks
Debasish