-
Notifications
You must be signed in to change notification settings - Fork 18
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
Dephy forcings #34
Open
sjboeing
wants to merge
13
commits into
Leeds-MONC:master
Choose a base branch
from
sjboeing:dephy_forcings
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Dephy forcings #34
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1fa97d1
Work in progress on dephy forcings
8e8a079
Dephy implementation
bfb3880
Makefile compilation changes. NOTE: temporarily removes SOCRATES coup…
8f26205
Interpolation bugfix with wider implications for MONC
4da3c60
Example dephy mcf file. Location to be changed.
28a6a9a
Somewhat longer run for initial testing
d4adb63
Merge remote-tracking branch 'upstream/master' into dephy_forcings
1bd300a
Adding rdmi to conditional diagnostics in order to do makefile compil…
363ef36
Implement column-mode check
49af5d1
Changes to TODO
720e782
Added documentation
e46db6c
Using stub socrates compilation in makefile approach (for compatibili…
f842c16
Further work on DEPHY+CASIM
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ module conditional_diagnostics_whole_mod | |
use grids_mod, only : Z_INDEX | ||
use datadefn_mod, only : PRECISION_TYPE, DEFAULT_PRECISION | ||
use mpi, only : MPI_SUM, MPI_IN_PLACE, MPI_INT, MPI_REAL, MPI_DOUBLE | ||
use missing_data_mod, only: rmdi | ||
|
||
use optionsdatabase_mod, only : options_get_integer | ||
|
||
|
||
|
@@ -22,8 +22,8 @@ module conditional_diagnostics_whole_mod | |
#endif | ||
|
||
integer :: diagnostic_generation_frequency | ||
|
||
public conditional_diagnostics_whole_get_descriptor | ||
Real, Parameter :: RMDI = -32768.0*32768.0 | ||
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. what is 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. it is a missing data indicator (see e.g. http://cms.ncas.ac.uk/documents/IDL/idl_guide.html#missing) |
||
|
||
contains | ||
|
||
|
@@ -70,7 +70,7 @@ subroutine timestep_callback(current_state) | |
PRECISION_TYPE, MPI_SUM, 0, current_state%parallel%monc_communicator, ierr) | ||
end if | ||
|
||
!> Average summed diagnostics over the domain by dividing the total diagnostic for each condition | ||
!> Average summed diagnostics over the domain by dividing the total diagnostic for each condition | ||
!! by the total number of points for the associated conditions. | ||
!! This is NOT done for the area diagnostic, identified by the requested_area position in the array. | ||
!! Note: CondDiags_tot(k, ncond, ndiag) | ||
|
@@ -106,7 +106,7 @@ subroutine timestep_callback(current_state) | |
|
||
end subroutine timestep_callback | ||
|
||
|
||
!> Called on termination: currently doesn't need to do anything | ||
!! @param current_state The current model state | ||
subroutine finalisation_callback(current_state) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
SRCSF = src/dephy_forcings.F90 | ||
|
||
BUILDDIR=build | ||
COREDIR=../../model_core/build | ||
LOWERBCDIR=../lowerbc/build | ||
SETFLUXLOOKDIR=../setfluxlook/build | ||
GRIDMANAGERDIR=../gridmanager/build | ||
FFLAGS=-I $(BUILDDIR) -I $(COREDIR) -I $(LOWERBCDIR) -I $(SETFLUXLOOKDIR) -I $(GRIDMANAGERDIR) $(COMPILERFFLAGS) | ||
OBJS = $(patsubst %.F90,$(BUILDDIR)/%.o,$(SRCSF)) | ||
|
||
all: create-build-dirs $(OBJS) | ||
|
||
create-build-dirs: | ||
mkdir -p $(BUILDDIR) | ||
|
||
$(OBJS) : $(BUILDDIR)/%.o : %.F90 | ||
$(FTN) $(OPT) $(FFLAGS) $< -o $(BUILDDIR)/$(notdir $@) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
any idea why this moved?
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.
I can check if this is strcitly needed. I had some trouble getting the order of compilations for makefiles right, but it may just be a matter of getting the order correct in the makefile.