Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/gfdl test #222

Merged
merged 27 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
14a6bf5
updated fv_regional_bc.F90 to read levsp from GFS_ctl file (#152)
bensonr Oct 6, 2021
c2decd7
Updating a continue statement in fv_nudge (#153)
laurenchilutti Oct 7, 2021
c7f0f50
fix logic errors (#138)
menzel-gfdl Oct 7, 2021
16f9afb
update to external_ic::remap_scale to skip remapping non-existent IC …
bensonr Oct 14, 2021
a3ac973
Fix nudge logic (#157)
menzel-gfdl Oct 18, 2021
c885c3e
adding back a line that was mistakenly deleted in a previous commit (…
laurenchilutti Nov 30, 2021
2fcff2e
Release 042022 (#184)
laurenchilutti Apr 7, 2022
80d5633
cherry pick 5193c6b60c02c744b1ffe27078eccbeed2a22ad8 from dev/emc
bensonr Apr 19, 2022
60e406a
Attempt at integrating fixes on top of dev/emc branch. (#173)
MatthewPyle-NOAA Feb 25, 2022
998898c
Merge pull request #187 from bensonr/cpick_iau
laurenchilutti Apr 20, 2022
1e7ed4c
remove outdated GFDL_tools/fv_diag_column.F90 which exists as the res…
laurenchilutti May 10, 2022
e45141a
various io fixes (#192)
bensonr May 12, 2022
52f6728
fix index error (#196)
menzel-gfdl Jun 8, 2022
5e45c40
New notebooks (#190)
lharris4 Jun 15, 2022
29396d3
Regional decomposition test fix (when nrows_blend > 0) (#194) (#200)
laurenchilutti Jul 7, 2022
ebd5a46
Implementing CI (#207)
laurenchilutti Sep 14, 2022
85d4ed6
CI Parallelworks update (#211)
laurenchilutti Sep 16, 2022
c0747f2
Update call to read_input_nml and remove unnecessary code. (#161)
laurenchilutti Sep 16, 2022
858eab8
merge of main on 2022.09.29 into dev/gfdl - keeping only the dev/gfdl…
bensonr Sep 29, 2022
a6fe407
updating fv_mapz instead
laurenchilutti Sep 30, 2022
4ecc68b
update fv_mapz
laurenchilutti Sep 30, 2022
653e088
remove ptop argument (not needed) from mappm interface in fv_mapz.F90
bensonr Sep 30, 2022
11dca78
deleting lines in read_climate_nudge_data
laurenchilutti Sep 30, 2022
0daa117
Merge remote-tracking branch 'benson/main2gfdl' into main2gfdl2
laurenchilutti Sep 30, 2022
2c54750
Merge pull request #4 from laurenchilutti/main2gfdl2
bensonr Sep 30, 2022
66aca29
fixes to fv_mapz.F90
bensonr Sep 30, 2022
033f920
update fv_mapz openmp fixes
laurenchilutti Oct 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update call to read_input_nml and remove unnecessary code. (#161)
* Update call to read_input_nml and remove unnecessary code.

* Removing use of INTERNAL_FILE_NML and cleaning up read_namelist_test_cases to remove unused argument

* deleting duplicate call to read_namelist_test_case_nml in fv_control

* removing commented code in fv_control
  • Loading branch information
laurenchilutti authored Sep 16, 2022
commit c0747f24c5d5c4eafd1c4670bf4623e47e760fb7
20 changes: 3 additions & 17 deletions model/fv_control.F90
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ module fv_control_mod
use fv_mp_mod, only: mp_start, domain_decomp, mp_assign_gid, global_nest_domain
use fv_mp_mod, only: broadcast_domains, mp_barrier, is_master, setup_master, grids_master_procs, tile_fine
use fv_mp_mod, only: MAX_NNEST, MAX_NTILE
!use test_cases_mod, only: test_case, bubble_do, alpha, nsolitons, soliton_Umax, soliton_size
use test_cases_mod, only: read_namelist_test_case_nml
use fv_timing_mod, only: timing_on, timing_off, timing_init, timing_prt
use mpp_domains_mod, only: domain2D
Expand Down Expand Up @@ -389,7 +388,7 @@ subroutine fv_control_init(Atm, dt_atmos, this_grid, grids_on_this_pe, p_split)
Atm(n)%nml_filename = 'input.nml'
endif
if (.not. file_exists(Atm(n)%nml_filename)) then
call mpp_error(FATAL, "Could not find nested grid namelist "//Atm(n)%nml_filename)
call mpp_error(FATAL, "Could not find namelist "//Atm(n)%nml_filename)
endif
enddo

Expand Down Expand Up @@ -445,22 +444,10 @@ subroutine fv_control_init(Atm, dt_atmos, this_grid, grids_on_this_pe, p_split)

call set_namelist_pointers(Atm(this_grid))
call fv_diag_init_gn(Atm(this_grid))
#ifdef INTERNAL_FILE_NML
if (this_grid .gt. 1) then
write(Atm(this_grid)%nml_filename,'(A4, I2.2)') 'nest', this_grid
if (.not. file_exists('input_'//trim(Atm(this_grid)%nml_filename)//'.nml')) then
call mpp_error(FATAL, "Could not find nested grid namelist "//'input_'//trim(Atm(this_grid)%nml_filename)//'.nml')
endif
else
Atm(this_grid)%nml_filename = ''
endif
call read_input_nml(Atm(this_grid)%nml_filename) !re-reads into internal namelist
#endif
call read_input_nml(alt_input_nml_path=Atm(this_grid)%nml_filename) !re-reads into internal namelist
call read_namelist_fv_grid_nml
call read_namelist_fv_core_nml(Atm(this_grid)) ! do options processing here too?
call read_namelist_test_case_nml(Atm(this_grid)%nml_filename)
!TODO test_case_nml moved to test_cases
call read_namelist_test_case_nml(Atm(this_grid)%nml_filename)
call read_namelist_test_case_nml
call mpp_get_current_pelist(Atm(this_grid)%pelist, commID=commID) ! for commID
call mp_start(commID,halo_update_type)

Expand Down Expand Up @@ -1050,7 +1037,6 @@ subroutine read_namelist_fv_core_nml(Atm)
198 format(A,i2.2,A,i4.4,'x',i4.4,'x',i1.1,'-',f9.3)
199 format(A,i3.3)

!if (.not. (nested .or. regional)) alpha = alpha*pi !TODO for test_case_nml

!allocate(Atm%neststruct%child_grids(size(Atm))) !TODO want to remove
!Atm(N)%neststruct%child_grids = .false.
Expand Down
13 changes: 0 additions & 13 deletions tools/fv_diagnostics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -352,20 +352,7 @@ subroutine fv_diag_init(Atm, axes, Time, npx, npy, npz, p_ref)
#endif
levs_ave = 0
levs_ave(1:4) = (/50,400,850,1000/)
#ifdef INTERNAL_FILE_NML
read(input_nml_file, nml=fv_diag_plevs_nml,iostat=ios)
#else
inquire (file=trim(Atm(n)%nml_filename), exist=exists)
if (.not. exists) then
write(errmsg,*) 'fv_diag_plevs_nml: namelist file ',trim(Atm(n)%nml_filename),' does not exist'
call mpp_error(FATAL, errmsg)
else
open (unit=nlunit, file=Atm(n)%nml_filename, READONLY, status='OLD', iostat=ios)
endif
rewind(nlunit)
read (nlunit, nml=fv_diag_plevs_nml, iostat=ios)
close (nlunit)
#endif
if (nplev > MAX_PLEVS) then
if (is_master()) then
print*, ' fv_diagnostics: nplev = ', nplev, ' is too large'
Expand Down
3 changes: 1 addition & 2 deletions tools/test_cases.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5566,9 +5566,8 @@ subroutine init_double_periodic(u,v,w,pt,delp,q,phis, ps,pe,peln,pk,pkz, uc,vc,

end subroutine init_double_periodic

subroutine read_namelist_test_case_nml(nml_filename)
subroutine read_namelist_test_case_nml()

character(*), intent(IN) :: nml_filename
integer :: ierr, f_unit, unit, ios
namelist /test_case_nml/test_case, bubble_do, alpha, nsolitons, soliton_Umax, soliton_size, &
no_wind, gaussian_dt, dt_amp, do_marine_sounding, checker_tr, small_earth_scale, Umean
Expand Down