Skip to content

Commit

Permalink
Need if statement for advertising ndep
Browse files Browse the repository at this point in the history
dshr_fldList_add needs the ugridded_lbound and ugridded_ubound arguments for
Faxa_ndep, so I added it to the if statement that handles Faxa_bcph, Faxa_ocph,
Faxa_dstwet, and Faxa_dstdry.
  • Loading branch information
mnlevy1981 committed Mar 30, 2023
1 parent b5d4929 commit 929b59c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docn/docn_import_data_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ subroutine docn_import_data_advertise(importState, fldsimport, flds_scalar_name,
call dshr_fldList_add(fldsImport, trim(fieldnamelist(n)), ungridded_lbound=1, ungridded_ubound=3)
else if (trim(fieldnamelist(n)) == 'Faxa_dstwet' .or. trim(fieldnamelist(n)) == 'Faxa_dstdry') then
call dshr_fldList_add(fldsImport, trim(fieldnamelist(n)), ungridded_lbound=1, ungridded_ubound=4)
else if (trim(fieldnamelist(n)) == 'Faxa_ndep') then
call dshr_fldList_add(fldsImport, trim(fieldnamelist(n)), ungridded_lbound=1, ungridded_ubound=2)
else
call dshr_fldList_add(fldsImport, trim(fieldnamelist(n)))
end if
Expand Down

0 comments on commit 929b59c

Please sign in to comment.