Skip to content

Commit dd15139

Browse files
committed
Removing COSP 1.4 interface
1 parent 23fe1b7 commit dd15139

File tree

9 files changed

+3
-5349
lines changed

9 files changed

+3
-5349
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ The repository include directories
2626
- `src/` contains the COSP layer and the underlying satellite simulators
2727
- `model-interface/` contains routines used by COSP to couple to the host model. Edit these before building.
2828
- `subsample_and_optics_example/` contains an example implementation, following COSP 1, of the routines to map model-derived grid-scale physical properties to the subgrid-scale optical properties needed by COSP.
29-
- `cosp-1.4-interface/` contains a wrapper mapping the calling structure and arguments from COSP 1 to COSP 2, making it possible to call COSP 2 using COSP 1 arguments.
3029
- `driver/` contains codes that run COSP on example inputs and scripts that compare the current implementation to a reference.
3130
- `build/` contains a Makefile describing build dependencies. Users may build a COSP library and other targets from this Makefile.
3231
- `unit_testing/` contains small programs meant to exercise some of the simulators.
@@ -42,7 +41,7 @@ The offline drivers read sample snapshots from the Met Office Unified Model, use
4241
1. Build the drivers.
4342
1. Edit the files in `model-interface/` if necessary. By default COSP is built using double-precision real variables and printing any error messages to the standard output.
4443
1. In `build/` edit `Makefile.conf` to reflect the choice of compiler, compiler flags, and library names and locations. If you intend to build the CMOR driver this includes all libraries necessary for CMOR. Building the CMOR driver also requires a change to the definition of the DRIVER variable in Makefile.
45-
1. In build `make driver` will build a COSP library, a separate library with the example mapping from model state to COSP inputs, and the `cosp2_test` executable, which is then copied to `driver/run`. `make driver_COSP1.4` is analogous but builds a `cosp1_test` executable that uses the COSP 1.4 calling conventions.
44+
1. In build `make driver` will build a COSP library, a separate library with the example mapping from model state to COSP inputs, and the `cosp2_test` executable, which is then copied to `driver/run`.
4645

4746
1. Running the test program
4847
1. Directory `test/run` contains namelists and other files needed by the test programs. If the executables have been built they should run in this directory using these files as supplied.

build/Makefile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ VPATH = $(SRC_PATH):$(HOOKS):$(SIM_PATH):$(RT_PATH):$(RS_PATH):$(CS_PATH):$(ISCC
1515
SUBCOLS = ../subsample_and_optics_example
1616
VPATH += $(SUBCOLS)/optics:$(SUBCOLS)/optics/quickbeam_optics:$(SUBCOLS)/subcol:$(SUBCOLS)/subcol/rng
1717

18-
# COSP1.4 wrapper around COSP2
19-
COSP1WRAPPER = ../cosp-1.4-interface
20-
VPATH += $(COSP1WRAPPER)
21-
2218
# Standalone driver
2319
DRIVER = ../driver/src
2420
VPATH += $(DRIVER)
@@ -65,9 +61,6 @@ clean:
6561
driver:
6662
make cosp2_test
6763
mv cosp2_test ../driver/run
68-
driver_COSP1.4:
69-
make cosp1_test
70-
mv cosp1_test ../driver/run
7164

7265
# Dependencies for libary
7366
cosp.o : cosp_kinds.o cosp_modis_interface.o cosp_constants.o cosp_rttov_interfaceSTUB.o \
@@ -90,8 +83,8 @@ cosp_parasol_interface.o : cosp_kinds.o
9083
parasol.o : cosp_kinds.o cosp_config.o cosp_constants.o
9184
cosp_calipso_interface.o : cosp_kinds.o lidar_simulator.o
9285
lidar_simulator.o : cosp_kinds.o cosp_config.o cosp_stats.o
93-
cosp_grLidar532_interface.o : cosp_kinds.o
94-
cosp_atlid_interface.o : cosp_kinds.o
86+
cosp_grLidar532_interface.o : cosp_kinds.o
87+
cosp_atlid_interface.o : cosp_kinds.o
9588
cosp_cloudsat_interface.o : cosp_kinds.o cosp_config.o quickbeam.o
9689
quickbeam.o : cosp_kinds.o cosp_stats.o
9790
cosp_rttov_interfaceSTUB.o : cosp_kinds.o cosp_config.o cosp_rttovSTUB.o
@@ -117,9 +110,3 @@ mo_rng.o : cosp_kinds.o
117110
cosp2_io.o : cosp_kinds.o cosp_config.o cosp.o
118111
cosp2_test.o : cosp2_io.o libcosp.a libsubcol.a
119112
cosp2_test : cosp2_test.o cosp2_io.o
120-
121-
# Offline driver using COSP 1.4 interface
122-
cosp_interface_v1p4.o : cosp_kinds.o libcosp.a libsubcol.a
123-
cosp1_io.o : cosp_kinds.o cosp_config.o cosp.o cosp_interface_v1p4.o
124-
cosp1_test.o : cosp1_io.o
125-
cosp1_test : cosp1_test.o cosp1_io.o cosp_interface_v1p4.o

cosp-1.4-interface/README

Lines changed: 0 additions & 9 deletions
This file was deleted.

cosp-1.4-interface/cosp_defs.h

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)