Skip to content

Commit

Permalink
Use 32bit value for 'missing_value' and '_FillValue' attributes (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
DusanJovic-NOAA authored Jan 25, 2023
1 parent a839395 commit 3f7b57a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/fvGFS/fv_nggps_diag.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1727,12 +1727,12 @@ subroutine add_field_to_bundle(var_name,long_name,units,cell_methods, axes,dyn_g
call ESMF_AttributeAdd(field, convention="NetCDF", purpose="FV3", &
attrList=(/"missing_value"/), rc=rc)
call ESMF_AttributeSet(field, convention="NetCDF", purpose="FV3", &
name='missing_value',value=missing_value,rc=rc)
name='missing_value',value=real(missing_value,kind=4),rc=rc)

call ESMF_AttributeAdd(field, convention="NetCDF", purpose="FV3", &
attrList=(/"_FillValue"/), rc=rc)
call ESMF_AttributeSet(field, convention="NetCDF", purpose="FV3", &
name='_FillValue',value=missing_value,rc=rc)
name='_FillValue',value=real(missing_value,kind=4),rc=rc)

call ESMF_AttributeAdd(field, convention="NetCDF", purpose="FV3", &
attrList=(/"cell_methods"/), rc=rc)
Expand Down

0 comments on commit 3f7b57a

Please sign in to comment.