-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #707 from GEOS-ESM/feature/rreichle/make_bcs_cleanup
cleanup and reorganization of files in ./Raster (make_bcs)
- Loading branch information
Showing
64 changed files
with
1,358 additions
and
285 deletions.
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
51 changes: 1 addition & 50 deletions
51
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/CMakeLists.txt
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 |
---|---|---|
@@ -1,50 +1 @@ | ||
esma_set_this(OVERRIDE raster) | ||
set (srcs | ||
date_time_util.F90 | ||
leap_year.F90 | ||
EASE_conv.F90 | ||
mod_process_hres_data.F90 | ||
rasterize.F90 | ||
read_riveroutlet.F90 | ||
CubedSphere_GridMod.F90 | ||
rmTinyCatchParaMod.F90 | ||
zip.c | ||
util.c | ||
) | ||
|
||
if(NOT FORTRAN_COMPILER_SUPPORTS_FINDLOC) | ||
list(APPEND srcs findloc.F90) | ||
endif () | ||
|
||
set_source_files_properties(mkMITAquaRaster.F90 PROPERTIES COMPILE_FLAGS "${BYTERECLEN}") | ||
|
||
esma_add_library(${this} SRCS ${srcs} DEPENDENCIES MAPL GEOS_SurfaceShared GEOS_LandShared esmf NetCDF::NetCDF_Fortran OpenMP::OpenMP_Fortran OpenMP::OpenMP_C) | ||
|
||
if(NOT FORTRAN_COMPILER_SUPPORTS_FINDLOC) | ||
target_compile_definitions(${this} PRIVATE USE_EXTERNAL_FINDLOC) | ||
endif () | ||
|
||
# MAT NOTE This should use find_package(ZLIB) but Baselibs currently | ||
# confuses find_package(). This is a hack until Baselibs is | ||
# reorganized. | ||
if (Baselibs_FOUND) | ||
set (INC_ZLIB ${BASEDIR}/include/zlib) | ||
target_include_directories(${this} PRIVATE ${INC_ZLIB}) | ||
else () | ||
find_package(ZLIB) | ||
target_link_libraries(${this} PRIVATE ZLIB::zlib) | ||
endif () | ||
|
||
ecbuild_add_executable (TARGET chk_clsm_params.x SOURCES chk_clsm_params.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET CombineRasters.x SOURCES CombineRasters.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkCatchParam.x SOURCES mkCatchParam.F90 LIBS MAPL ${this} OpenMP::OpenMP_Fortran) | ||
ecbuild_add_executable (TARGET mkCubeFVRaster.x SOURCES mkCubeFVRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkLandRaster.x SOURCES mkLandRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkLatLonRaster.x SOURCES mkLatLonRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkMITAquaRaster.x SOURCES mkMITAquaRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkMOMAquaRaster.x SOURCES mkMOMAquaRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET FillMomGrid.x SOURCES FillMomGrid.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mk_runofftbl.x SOURCES mk_runofftbl.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkEASETilesParam.x SOURCES mkEASETilesParam.F90 LIBS MAPL ${this}) | ||
|
||
install(PROGRAMS make_bcs clsm_plots.pro plot_curves.pro create_README.csh plot_curves.csh DESTINATION bin) | ||
esma_add_subdirectories (makebcs preproc) |
6 changes: 0 additions & 6 deletions
6
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/Raster.h
This file was deleted.
Oops, something went wrong.
95 changes: 0 additions & 95 deletions
95
GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/leap_year.F90
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
...cm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/CMakeLists.txt
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,49 @@ | ||
esma_set_this() | ||
|
||
set (srcs | ||
LDAS_DateTimeMod.F90 | ||
EASE_conv.F90 | ||
mod_process_hres_data.F90 | ||
rasterize.F90 | ||
read_riveroutlet.F90 | ||
CubedSphere_GridMod.F90 | ||
rmTinyCatchParaMod.F90 | ||
zip.c | ||
util.c | ||
) | ||
|
||
if(NOT FORTRAN_COMPILER_SUPPORTS_FINDLOC) | ||
list(APPEND srcs findloc.F90) | ||
endif () | ||
|
||
set_source_files_properties(mkMITAquaRaster.F90 PROPERTIES COMPILE_FLAGS "${BYTERECLEN}") | ||
|
||
esma_add_library(${this} SRCS ${srcs} DEPENDENCIES MAPL GEOS_SurfaceShared GEOS_LandShared esmf NetCDF::NetCDF_Fortran OpenMP::OpenMP_Fortran OpenMP::OpenMP_C) | ||
|
||
if(NOT FORTRAN_COMPILER_SUPPORTS_FINDLOC) | ||
target_compile_definitions(${this} PRIVATE USE_EXTERNAL_FINDLOC) | ||
endif () | ||
|
||
# MAT NOTE This should use find_package(ZLIB) but Baselibs currently | ||
# confuses find_package(). This is a hack until Baselibs is | ||
# reorganized. | ||
if (Baselibs_FOUND) | ||
set (INC_ZLIB ${BASEDIR}/include/zlib) | ||
target_include_directories(${this} PRIVATE ${INC_ZLIB}) | ||
else () | ||
find_package(ZLIB) | ||
target_link_libraries(${this} PRIVATE ZLIB::zlib) | ||
endif () | ||
|
||
ecbuild_add_executable (TARGET CombineRasters.x SOURCES CombineRasters.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkCatchParam.x SOURCES mkCatchParam.F90 LIBS MAPL ${this} OpenMP::OpenMP_Fortran) | ||
ecbuild_add_executable (TARGET mkCubeFVRaster.x SOURCES mkCubeFVRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkLandRaster.x SOURCES mkLandRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkLatLonRaster.x SOURCES mkLatLonRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkMITAquaRaster.x SOURCES mkMITAquaRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkMOMAquaRaster.x SOURCES mkMOMAquaRaster.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET FillMomGrid.x SOURCES FillMomGrid.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mk_runofftbl.x SOURCES mk_runofftbl.F90 LIBS MAPL ${this}) | ||
ecbuild_add_executable (TARGET mkEASETilesParam.x SOURCES mkEASETilesParam.F90 LIBS MAPL ${this}) | ||
|
||
install(PROGRAMS make_bcs clsm_plots.pro create_README.csh DESTINATION bin) |
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
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...ace_GridComp/Utils/Raster/FillMomGrid.F90 → ...Comp/Utils/Raster/makebcs/FillMomGrid.F90
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
Oops, something went wrong.