-
Notifications
You must be signed in to change notification settings - Fork 27
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/jcsda #35
Dev/jcsda #35
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,10 +197,11 @@ module external_ic_mod | |
|
||
real, parameter:: zvir = rvgas/rdgas - 1. | ||
real(kind=R_GRID), parameter :: cnst_0p20=0.20d0 | ||
real :: deg2rad | ||
character (len = 80) :: source ! This tells what the input source was for the data | ||
real, parameter :: deg2rad = pi/180. | ||
character (len = 80), public :: source ! This tells what the input source was for the data | ||
character(len=27), parameter :: source_fv3gfs = 'FV3GFS GAUSSIAN NEMSIO FILE' | ||
public get_external_ic, get_cubed_sphere_terrain | ||
public remap_scalar, remap_dwinds | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You've made remap_scalar and remap_dwinds public, but none of your other code changes use these routines. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bensonr yes these are being used outside of the dycore, in the JEDI data assimilation system. We have cases where we need to read cold starts in the data assimilation but cannot use the full dycore initialization routines. So we read the cold starts using our own routines that access FMS directly and then call the remapping methods. We may also have cases in the future where we want to remap a state, for example after adding the increment and these routines could be useful there. |
||
|
||
! version number of this module | ||
! Include variable "version" to be written to log file. | ||
|
@@ -997,8 +998,6 @@ subroutine get_ncep_ic( Atm, fv_domain, nq ) | |
jsd = Atm%bd%jsd | ||
jed = Atm%bd%jed | ||
|
||
deg2rad = pi/180. | ||
|
||
npz = Atm%npz | ||
call get_number_tracers(MODEL_ATMOS, num_tracers=ntracers, num_prog=ntprog) | ||
if(is_master()) write(*,*) 'ntracers = ', ntracers, 'ntprog = ',ntprog | ||
|
@@ -1562,8 +1561,6 @@ subroutine get_ecmwf_ic( Atm, fv_domain ) | |
jsd = Atm%bd%jsd | ||
jed = Atm%bd%jed | ||
|
||
deg2rad = pi/180. | ||
|
||
npz = Atm%npz | ||
call get_number_tracers(MODEL_ATMOS, num_tracers=ntracers, num_prog=ntprog) | ||
if(is_master()) write(*,*) 'ntracers = ', ntracers, 'ntprog = ',ntprog | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've made source public, but I don't see any other code using that information.