Skip to content

Commit

Permalink
Merge pull request ESCOMP#173 from jedwards4b/need_fillvalue_att
Browse files Browse the repository at this point in the history
Description of changes

Need to add a _FillValue attribute.
Specific notes

Contributors other than yourself, if any:

CDEPS Issues Fixed (include github issue #):

Are there dependencies on other component PRs (if so list):

Are changes expected to change answers (bfb, different to roundoff, more substantial):
bfb
Any User Interface Changes (namelist or namelist defaults changes):
no
Testing performed (e.g. aux_cdeps, CESM prealpha, etc):
ERS_Ld3.f45_g37_rx1.A.cheyenne_intel
Hashes used for testing: cesm commit e79aed81d07 (alpha09d)
  • Loading branch information
jedwards4b authored Jul 12, 2022
2 parents d62218d + f37147d commit 052b45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dshr/dshr_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ subroutine dshr_restart_write(rpfile, case_name, model_name, inst_suffix, ymd, t
if (present(fld) .and. present(fldname)) then
rcode = pio_def_dim(pioid, 'gsize', sdat%model_gsize, dimid(1))
rcode = pio_def_var(pioid, trim(fldname), PIO_DOUBLE, dimid, varid)
rcode = pio_put_att(pioid, varid, "_FillValue", shr_const_spval)
endif
call shr_stream_restIO(pioid, sdat%stream, 'define')
rcode = pio_enddef(pioid)
Expand Down

0 comments on commit 052b45a

Please sign in to comment.