Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a37a8ef
Updated IMONO=1 for vertical monotonic flux limiter in advection turn…
smsaleeb Feb 24, 2023
5aba63c
Changed reading of RAMSIN namelist string length from A80 to A256.
smsaleeb Feb 24, 2023
0af2f24
Bounds fix to aerosol radius in deposition routine.
smsaleeb Feb 24, 2023
04119c4
Updated several microphysical process rates, including separating vap…
smsaleeb Mar 2, 2023
c2e8948
Updated RAMS documentation
smsaleeb Mar 2, 2023
2fa77c9
Small update to path in include.mk
smsaleeb Mar 2, 2023
736e904
Moving all src files from version directory to /src to eliminate the …
smsaleeb Mar 2, 2023
2776c11
Update include.mk to remove version name directory that we no longer …
smsaleeb Mar 2, 2023
5195524
Merge pull request #13 from smsaleeb/main
smsaleeb Mar 2, 2023
2224725
Updated documentation for initial release of RAMS v6.3.03
smsaleeb Mar 2, 2023
f20afc4
Merge branch 'RAMSmodel:main' into main
smsaleeb Mar 2, 2023
c8f4e39
Merge pull request #14 from smsaleeb/main
ldgrantcsu Mar 2, 2023
96f6cee
Merge pull request #2 from RAMSmodel/main
ldgrantcsu Mar 27, 2023
7b0fedc
Improved nested grid boundaries to seamlessly move scalars from outer…
smsaleeb Aug 23, 2023
7c17437
Limit cloud nucleation to aerosol median radius > 0.01um (10nm), and …
smsaleeb Aug 23, 2023
89c8405
Updates to heterogeneous ice nucleation and microphysics adjustments …
smsaleeb Aug 23, 2023
0bcb1a6
Permit heterogeneous ice nucleation for T<-35C, but limit coldest tem…
smsaleeb Aug 23, 2023
41ac85f
Changed aerosol names CCN and GCCN to be more generalized since they …
smsaleeb Aug 24, 2023
1203c20
Added new INP profiles that can be chosen by the user in subroutine i…
smsaleeb Aug 24, 2023
0dcbe82
Updated all documentation for code with tag v6.3.03f.
smsaleeb Aug 24, 2023
b8eee94
Merge pull request #17 from smsaleeb/main
smsaleeb Sep 7, 2023
ab3c477
Updates to dprep Makefiles and Readme files. Also update to dprep f90…
smsaleeb Sep 12, 2023
183c7e0
Merge pull request #18 from smsaleeb/main
smsaleeb Sep 12, 2023
e9d4867
Fixes to Makefiles, update bin.block, update gitignore, update README…
smsaleeb Sep 15, 2023
2b6d663
Minor code comment updates
smsaleeb Sep 20, 2023
ff326ba
mic_nuc.f90 bug fix - dimension of concen_tab
arjadre Oct 17, 2023
5c47783
Array size fix to 'concen_tab' array in subroutine 'cldnuc'.
smsaleeb Oct 19, 2023
5f0f673
Merge pull request #19 from arjadre/patch-1
smsaleeb Oct 19, 2023
fdc9f2b
Merge pull request #4 from RAMSmodel/main
jenbukow Feb 20, 2024
e2099d2
Updated aggregation efficiency
smsaleeb Feb 21, 2024
58d6764
Merge pull request #20 from smsaleeb/main
freemansw1 Feb 27, 2024
519a749
Merge pull request #7 from RAMSmodel/main
jenbukow Mar 12, 2024
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
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,27 @@
*.grb1
*.grb2
dp-p[0-9]*

bin.block/example_modis_sst/*
bin.block/example_reynolds_sst/*
bin.block/mk-blkfiles*
bin.block/CreateSSTblockfiles.sc
bin.block/run_test_sstfiles.sc

bin.dp.grib1/example_data/*
bin.dp.grib1/dgrib*
bin.dp.grib1/rams_wgrib

bin.dp.grib2/example_data/*
bin.revu/example_data/*
bin.dp.grib2/wgrib*
bin.dp.grib2/dgrib*

bin.revu/example_data/*
bin.revu/revu*

bin.rams/dprep.test/*
bin.rams/rams*
bin.rams/cleanup.sc

# Ignore external libraries
misc/*
Expand Down
74 changes: 74 additions & 0 deletions bin.block/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#Makefile
###############################################################################
# Include definitions
###############################################################################
include ../include.mk
###############################################################################
# Compiler commands
###############################################################################
INCLUDES = $(UTILS_INCS) $(PAR_INCS) $(HDF5_INCS)
F_CD1 = $(F_COMP) -c $(F_OPTS1) $(INCLUDES)
F_CD2 = $(F_COMP) -c $(F_OPTS2) $(INCLUDES)
C_CD = $(C_COMP) -c $(C_OPTS) $(INCLUDES) $(PAR_DEFS) $(HDF5_DEFS)

C_CM =$(C_CD) -D$(CMACH) $< && $(ARCH) $@ $(<F:.c=.o) && rm -f $(<F:.c=.o)
F_CM1=$(F_CD1) $< && $(ARCH) $@ $(<F:.f90=.o) && rm -f $(<F:.f90=.o)
F_CM2=$(F_CD2) $< && $(ARCH) $@ $(<F:.f90=.o) && rm -f $(<F:.f90=.o)
F_CM3=$(F_CD2) -D$(CMACH) $< && $(ARCH) $@ $(<F:.F90=.o) && rm -f $(<F:.F90=.o)

################################################################################
## File extension rules
################################################################################
$(ARC)(%.o): %.f90; $(F_CM2)

$(ARC)(%.o): %.F90; $(F_CM3)

$(ARC)(%.o): %.c; $(C_CM)

################################################################################
# Define objects
################################################################################
OBJ = $(ARC)($(MODEL)/block/hdf5_f2c.o) \
$(ARC)($(MODEL)/block/hdf5_utils.o) \
$(ARC)($(MODEL)/lib/rget.o)

###############################################################################
# Define archive and executable names
###############################################################################
BASE=mk-blkfiles
EXE=$(BASE)-$(RAMS_VERSION)
ARC=$(BASE)-$(RAMS_VERSION).a

# Define main source.
MAIN_OBJ = ./mk_main.o
MAIN = $(MODEL)/block/mk_main.f90

# Define targets.
all: $(EXE)

$(EXE): $(ARC) $(MAIN) FORCE
@echo ""
$(F_COMP) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC) \
$(HDF5_LIBS) $(LIBS) $(PAR_LIBS)
rm -f *.o
@echo ""
@echo Finished building === $(EXE)
@echo ""

$(MAIN): FORCE
@echo ""
$(F_CD2) $@

$(ARC): $(OBJ)

FORCE:

check: FORCE
@echo ""
check

clean:
@echo ""
rm -f $(ARC) $(EXE) $(BASE) *.o *.mod *.f
@echo ""

7 changes: 4 additions & 3 deletions bin.dp.grib1/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Makefile
#Makefile
###############################################################################
# Include definitions
# Include definitions
###############################################################################
include ../include.mk
###############################################################################
Expand Down Expand Up @@ -51,7 +51,8 @@ rams_wgrib:

$(EXE): $(ARC) $(MAIN) FORCE
@echo ""
$(F_COMP) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC)
$(F_COMP) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC) \
$(HDF5_LIBS) $(LIBS) $(PAR_LIBS)
rm -f *.o
@echo ""
@echo Finished building === $(EXE)
Expand Down
4 changes: 2 additions & 2 deletions bin.dp.grib1/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
3. Not all Grib reanalysis and forecast gridded datasets are accounted for.

You can view the degribbing code in the files such as:
src/6.2.11/dprep/dgrib1_main.f90 and
src/6.2.11/lib/griber_grb1.c
src/dprep/dgrib1_main.f90 and
src/lib/griber_grb1.c

In these routines are the specfications for adding a new dataset. Grib
names and numbers and labels can vary among datasets and each variation
Expand Down
8 changes: 5 additions & 3 deletions bin.dp.grib2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Makefile
#Makefile

###############################################################################
# Include definitions
# Include definitions
###############################################################################
include ../include.mk
###############################################################################
Expand Down Expand Up @@ -52,7 +53,8 @@ wgrib2:

$(EXE): $(ARC) $(MAIN) FORCE
@echo ""
$(F_COMP) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC)
$(F_COMP) -o $(EXE) $(MAIN_OBJ) $(LOADER_OPTS) $(ARC) \
$(HDF5_LIBS) $(LIBS) $(PAR_LIBS)
rm -f *.o
@echo ""
@echo Finished building === $(EXE)
Expand Down
11 changes: 9 additions & 2 deletions bin.dp.grib2/README.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Before compiling, you need a precompiled executable for "wgrib2".
We have used version wgrib2 2.0.3 downloaded September 19, 2019.
You will need to search for this software online and compile for your system.
The executable name should be "wgrib2" and should be placed in this directory
for the Makefile to find.

1. Type "make" to compile after you have setup your ../include.mk file.

2. Run sample executable like "dgrib-6.2.11" to see instructions on how to
Expand All @@ -6,9 +12,10 @@
3. Not all Grib reanalysis and forecast gridded datasets are accounted for.

You can view the degribbing code in the files such as:
src/6.2.11/dprep/dgrib2_main.f90 and
src/6.2.11/lib/griber_grb2.c
src/dprep/dgrib2_main.f90 and
src/lib/griber_grb2.c

In these routines are the specfications for adding a new dataset. Grib
names and numbers and labels can vary among datasets and each variation
has to be customized as a new datatype.

31 changes: 17 additions & 14 deletions bin.rams/RAMSIN.supercell → bin.rams/RAMSIN.testrunonly
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@

! History start (if RUNTYPE='HISTORY')

HFILIN = './test.supercell/a-A-1991-04-26-213000-head.txt',
HFILIN = './testrun.output/a-A-1991-04-26-213000-head.txt',
! Input state file name

! Analysis file input for assimilation: 1=yes, 0=no
Expand All @@ -198,7 +198,7 @@
! Analysis file output

IOUTPUT = 1, ! 0-no files, 1-write files
AFILEPREF = './test.supercell/a',
AFILEPREF = './testrun.output/a',
! File prefix for all analysis files
! state,mean,lite,both

Expand Down Expand Up @@ -229,10 +229,10 @@

! Input topography variables

TOPFILES = './test.supercell/toph', ! Path and prefix for topo files.
SFCFILES = './test.supercell/sfch', ! Path and prefix for surface files.
SSTFPFX = './test.supercell/ssth', ! Path and prefix for sst files
NDVIFPFX = './test.supercell/ndh', ! Path and prefix for ndni files
TOPFILES = './testrun.output/toph', ! Path and prefix for topo files.
SFCFILES = './testrun.output/sfch', ! Path and prefix for surface files.
SSTFPFX = './testrun.output/ssth', ! Path and prefix for sst files
NDVIFPFX = './testrun.output/ndh', ! Path and prefix for ndni files

ITOPTFLG = 2,0,0,0, ! 2 - Fill data in "leaf3_init"
ISSTFLG = 2,2,0,0, ! 0 - Interpolate from coarser grid
Expand All @@ -245,8 +245,8 @@
! 1 - Update values during run

! The following only apply for IxxxxFLG=1
ITOPTFN = '../../sfctypehdf5/DEM30s-h5/EL',
'../../sfctypehdf5/DEM30s-h5/EL',
ITOPTFN = '../../sfctypehdf5/gmted2010-h5/TM',
'../../sfctypehdf5/gmted2010-h5/TM',
ISSTFN = '../../sfctypehdf5/sst-h5/S',
'../../sfctypehdf5/sst-h5/S',
IVEGTFN = '../../sfctypehdf5/ogedata-h5/GE',
Expand Down Expand Up @@ -288,6 +288,9 @@
IBND = 1, ! Lateral boundary condition flags
JBND = 1, ! 1-Klemp/Wilhelmson, 2-cyclic

ISPONGE_PTS = 0,5,5, ! Number of nested grid boundary sponge points
SPONGE_TAU = 0.,30.,30., ! Nested grid sponge zone time scale (seconds)

CPHAS = 30., ! Phase speed if IBND or JBND = 1
LSFLG = 1, ! Large-scale gradient flag for variables other than
! normal velocity:
Expand Down Expand Up @@ -316,7 +319,7 @@

! KPP mixed-layer single-column ocean model

IKPP = 1, ! Ocean model (0-off, 1-on, 2-more diagnostics)
IKPP = 0, ! Ocean model (0-off, 1-on, 2-more diagnostics)
DMAXKPP = 500., ! Maximum ocean depth (meters)
NKPPZ = 48, ! Number of ocean layers (levels = layers+1)
DSCALEKPP = 3., ! Set exponential for stretched grid
Expand Down Expand Up @@ -369,7 +372,7 @@
! 9 Tall grass ! 20 Wetland evergreen broadleaf tree
! 10 Semi-desert ! 21 Very urban

PCTLCON = 0.7, ! Constant land % if for all domain
PCTLCON = 1.0, ! Constant land % if for all domain
NSLCON = 6, ! Constant soil type if for all domain

! 1 -- sand 2 -- loamy sand 3 -- sandy loam
Expand Down Expand Up @@ -536,7 +539,7 @@

! Aerosol parameters ! See mic_init.f90 for setting profiles
! ------------------------------------------
IAEROSOL = 1, ! CCN,GCCN: 0=off, 1=userset
IAEROSOL = 1, ! CCN-1,CCN-2: 0=off, 1=userset
ISALT = 1, ! Sea Salt: 0=off, 1=userset, 2=saltmodel
IDUST = 1, ! Dust: 0=off, 1=userset 2=dustmodel
IABCARB = 0, ! Absorbing carbon: 0=off, 1=userset
Expand Down Expand Up @@ -576,8 +579,8 @@
IAEROPRNT = 1, ! Print aerosol init profiles (0=no,1=yes)
IAEROHIST = 0, ! Re-initialize aerosols on hist restart:0,1
CIN_MAX = 0.01, ! Ice Nuclei (#/mg)
CCN_MAX = 1000., ! CCN (#/mg)
GCCN_MAX = 0.01, ! Giant-CCN (#/mg)
CCN1_MAX = 1000., ! CCN-mode-1 (#/mg)
CCN2_MAX = 0.01, ! CCN-mode-2 (#/mg)
DUST1_MAX = 100., ! Small Dust Mode (#/mg)
DUST2_MAX = 10., ! Large Dust Mode (#/mg)
SALTF_MAX = 100., ! Film Sea Salt (#/mg)
Expand All @@ -593,7 +596,7 @@
AERO_EPSILON = 0.90,0.90,0.05,0.05,1.00,1.00,1.00,0.05,0.05,0.20,0.20,

! Aerosol 9 categories initial median radius (meters)
AERO_MEDRAD = 0.04e-6,3.00e-6, !CCN,GCCN
AERO_MEDRAD = 0.04e-6,3.00e-6, !CCN-1,CCN-2
0.05e-6,0.50e-6, !Dust1,Dust2
0.10e-6,1.00e-6,6.00e-6, !SeaSalt: film,jet,spume
0.05e-6,0.05e-6, !Absorbing carbon
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions bin.rams/cleanup.sc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
rm -f *.mod rams rams*.a
rm -fr testrun.output
1 change: 1 addition & 0 deletions bin.rams/machs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
floyd
40 changes: 13 additions & 27 deletions bin.rams/machs.master
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,8 @@
#SINGLE MACHINE
#`hostname`

#Using "ccn" cluster with MPICH
#node01:1
#node02:8
#node03:8
#node04:8
#node05:8
#node06:8
#node07:8
#node08:8

#Using "ccn" cluster with openMPI
#node01 slots=1
#node02 slots=8
#node03 slots=8
#node04 slots=8
#node05 slots=8
#node06 slots=8
#node07 slots=8
#node08 slots=8

#Using "frost" cluster with MPICH
#frost:1
#frost:16
#frost1:16
#frost2:16
#frost3:16
Expand All @@ -40,12 +20,18 @@
#frost7:16
#frost8:16

#Using "ice" cluster (infiniband) MPICH
#icehome_ib:8
#ice1_ib:12
#ice2_ib:12
#ice3_ib:12
#ice4_ib:12
#Using "ice" cluster
#ice:8
#ice1:12
#ice2:12
#ice3:12
#ice4:12

#Using "snow" cluster
#snow:1
#snowfall1:64
#snowfall2:64
#snowfall3:64

#Ciracluster (head node is cm00, but do not include that in list)
#cc00:12
Expand Down
Loading