NCAR / hrldas

HRLDAS (High Resolution Land Data Assimilation System)
Other
50 stars 53 forks source link

modify full_ic_frq mod for gfortran compiler and start j loop from 1 … #128

Closed CharlesZheZhang closed 1 year ago

CharlesZheZhang commented 1 year ago

…in reading netcdf variables

This commit is to avoid full_ic_frq == 0 in mod function used in gfortran compiler. https://github.com/CharlesZheZhang/hrldas/blob/789b8c21c9f2f0a1811dd43ee4677a43453817f5/hrldas/HRLDAS_forcing/create_forcing.F#L445

Also change j loop from 1 in reading netcdf variables. https://github.com/CharlesZheZhang/hrldas/blob/789b8c21c9f2f0a1811dd43ee4677a43453817f5/hrldas/HRLDAS_forcing/create_forcing.F#L2119

cenlinhe commented 1 year ago

Note that this issue/bug only occurs in gfortran compiler but not intel and pgi, probably because gfortran compiler has a stricter rule on this.

cenlinhe commented 1 year ago

@tslin2 from my end, it seems that you have not approved this PR, so that I cannot merge it. Could you please check?

image