Skip to content
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

ECC-2035: Revamped directory structure and introduction of CamelCase in accessors #296

Merged
merged 46 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
7aeab10
Modernisation: Rename src -> eccodes
joobog Jan 22, 2025
b46edc1
Modernisation: Move eccodes -> src
joobog Jan 22, 2025
29faf0e
Modernisation: Adapt CMake
joobog Jan 22, 2025
2754101
Modernisation: Convert accessor names to camel case
joobog Jan 22, 2025
b6888e9
Modernisation: Include camel case accessor names
joobog Jan 22, 2025
da3faa6
Modernisation: Convert action file names to CamelCase
joobog Jan 22, 2025
b055be9
Modernisation: Include CamelCase action names
joobog Jan 23, 2025
1b1d6db
Modernisation: Convert dumper filenames to CamelCase
joobog Jan 23, 2025
3482cee
Modernisation: Include CamelCase dumper file names
joobog Jan 23, 2025
85deeca
Modernisation: Convert expression file names to CamelCase
joobog Jan 23, 2025
97f96e8
Modernisation: Include CamelCase expression names
joobog Jan 23, 2025
160bf28
Modernisation: Convert geo iterators file names to CamelCase
joobog Jan 23, 2025
bdf5bf5
Modernisation: Include CamelCase geo iterator file names
joobog Jan 23, 2025
9737fd3
Modernisation: Convert geo nearest file names to CamelCase
joobog Jan 23, 2025
6be3536
Modernisation: Include CamelCase geo nearest file names
joobog Jan 23, 2025
b7a965e
Modernisation: Introduce namespaces to accessors
joobog Jan 23, 2025
eb6414a
Modernisation: CamelCase accessor names
joobog Jan 24, 2025
a8827d5
Modernisation: Rename accessors. Use CamelCase and short names
joobog Jan 24, 2025
89aea7b
Modernisation: Fix CamelCase names in classes
joobog Feb 20, 2025
26041d0
Modernisation: Fix CamelCase in accessor file names
joobog Feb 20, 2025
c1987cb
Modernisation: Fix CamelCase in include statements
joobog Feb 20, 2025
ea1f407
Modernisation: Rename G2Latlon -> G2LatLon
joobog Feb 20, 2025
3dd2568
Modernisation: Rename G2Latlon -> G2Latlon
joobog Feb 20, 2025
bff2247
Modernisation: Rename RdbtimeGuessDate -> RdbTimeGuessDate
joobog Feb 20, 2025
37e0f70
Modernisation: Add missing CMakeLists.txt
joobog Feb 20, 2025
57ab9f2
Merge branch 'develop' into feature/modernisation_short_file_names
joobog Feb 20, 2025
e2bbd14
Merge branch 'develop' into feature/modernisation_short_file_names
joobog Feb 20, 2025
ab3f92c
Merge branch 'develop' into feature/modernisation_short_file_names
joobog Feb 24, 2025
977537d
Minor changes
joobog Feb 24, 2025
14c5588
Modernisation: Fix compilation with clang 19
joobog Feb 25, 2025
1b3c4b8
Merge branch 'develop' into feature/modernisation_short_file_names
joobog Feb 25, 2025
1ff43a4
Modernisation: move bufr_descriptor_is_marker() outside the eccodes::…
joobog Feb 25, 2025
3574e36
Modernisation: Move bufr_descriptor_is_marker() outside #if #endif
joobog Feb 25, 2025
54b2c2d
Modernisation: Fix path to memfs.c
joobog Feb 25, 2025
70f0d38
Modernisation: update dont_pack list
shahramn Feb 25, 2025
0cfea04
Modernisation: update scripts - change src to src/eccodes
joobog Feb 25, 2025
fd3fb5f
Merge branch 'feature/modernisation_short_file_names' of github.com:e…
joobog Feb 25, 2025
ad1ce5a
Merge branch 'develop' into feature/modernisation_short_file_names
joobog Feb 28, 2025
46f0824
Modernisation: Rename md5.h to md5_core.h
joobog Feb 28, 2025
4c1c4c5
Modernisation: Rename md5.h to md5_core.h
joobog Feb 28, 2025
12e9477
Modernisation: move show_class_hierarchies.py to eccodes folder
joobog Feb 28, 2025
f8b16c3
Modernisation: Adapt paths to the class hierarchies
joobog Feb 28, 2025
7d66958
Modernisation: Use script path instead of current working directory
joobog Feb 28, 2025
5280386
Modernisation: Remove a print statement
joobog Feb 28, 2025
edbf42e
Remove old script
shahramn Mar 3, 2025
15cd6a2
Merge branch 'develop' into feature/modernisation_short_file_names
shahramn Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ Makefile.in
config.h.in
lex.yy.c
stamp-h1
src/config.h
src/grib_api.h.new
src/grib_api_constants.h.new
src/eccodes_constants.h.new
src/grib_errors.c.new
src/grib_errors.h.new
src/errors.py.new
src/eccodes/config.h
src/eccodes/grib_api.h.new
src/eccodes/grib_api_constants.h.new
src/eccodes/eccodes_constants.h.new
src/eccodes/grib_errors.c.new
src/eccodes/grib_errors.h.new
src/eccodes/errors.py.new
configure
grib_api.spec
grib_api.pc
grib_api_f90.pc
*.analyzerinfo
*.snalyzerinfo
tags
src/convert_*.sh
src/eccodes/convert_*.sh

# compiled source #
###################
Expand Down Expand Up @@ -55,7 +55,7 @@ ehthumbs.db
Thumbs.db
.directory

src/tags
src/eccodes/tags

data/exp/

Expand Down
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,11 @@ endif()

### export package to other ecbuild packages

set( ECCODES_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINARY_DIR}/src )
set( ECCODES_INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/src/eccodes
${CMAKE_CURRENT_BINARY_DIR}/src/eccodes
)
set( ECCODES_LIBRARIES eccodes )

get_directory_property( COMPILE_DEFINITIONS ECCODES_DEFINITIONS )
Expand Down Expand Up @@ -469,7 +473,7 @@ add_subdirectory( ifs_samples ) # must come after samples
ecbuild_dont_pack( FILES .cproject .project )
ecbuild_dont_pack( DIRS
experimental deprecated doxygen confluence tests/deprecated tests/tests.ecmwf
src/deprecated tools/deprecated ifs_samples/grib1_mlgrib2_ieee32
src/eccodes/deprecated tools/deprecated ifs_samples/grib1_mlgrib2_ieee32
examples/examples.dev examples/extra examples/deprecated bamboo
fortran/fortranCtypes share/eccodes .settings )
#ecbuild_dont_pack( DIRS data/bufr DONT_PACK_REGEX "*.bufr" )
Expand Down
4 changes: 2 additions & 2 deletions examples/extra/include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ cd ${examples_dir}

if [ -z "${GRIB_API_INCLUDE}" ]
then
GRIB_API_INCLUDE=`pwd`/src
GRIB_API_INCLUDE=`pwd`/src/eccodes
fi

if [ -z "${GRIB_API_LIB}" ]
then
GRIB_API_LIB=`pwd`/src
GRIB_API_LIB=`pwd`/src/eccodes
fi

set -u
2 changes: 1 addition & 1 deletion memfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def get_outfile_name(base, count):
print("MEMFS: Generating output:", opath)
g = open(opath, "w")

f = open(os.path.join(os.path.dirname(__file__), "src", "memfs.c"))
f = open(os.path.join(os.path.dirname(__file__), "src", "eccodes", "memfs.c"))
for line in f.readlines():
line = line.rstrip()
if "<MARKER>" in line:
Expand Down
Loading
Loading