eccodeslib 2.41.dev0__0-2-cp313-cp313-macosx_13_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- eccodeslib/.dylibs/libaec.0.1.3.dylib +0 -0
- eccodeslib/.dylibs/libopenjp2.2.5.3.dylib +0 -0
- eccodeslib/.dylibs/libpng16.16.dylib +0 -0
- eccodeslib/__init__.py +2 -0
- eccodeslib/bin/bufr_compare +0 -0
- eccodeslib/bin/bufr_compare_dir +31 -0
- eccodeslib/bin/bufr_copy +0 -0
- eccodeslib/bin/bufr_count +0 -0
- eccodeslib/bin/bufr_dump +0 -0
- eccodeslib/bin/bufr_filter +72 -0
- eccodeslib/bin/bufr_get +0 -0
- eccodeslib/bin/bufr_index_build +0 -0
- eccodeslib/bin/bufr_ls +0 -0
- eccodeslib/bin/bufr_set +0 -0
- eccodeslib/bin/codes_bufr_filter +0 -0
- eccodeslib/bin/codes_config +142 -0
- eccodeslib/bin/codes_count +0 -0
- eccodeslib/bin/codes_export_resource +0 -0
- eccodeslib/bin/codes_info +0 -0
- eccodeslib/bin/codes_parser +0 -0
- eccodeslib/bin/codes_split_file +0 -0
- eccodeslib/bin/grib2ppm +0 -0
- eccodeslib/bin/grib_compare +0 -0
- eccodeslib/bin/grib_copy +0 -0
- eccodeslib/bin/grib_count +0 -0
- eccodeslib/bin/grib_dump +0 -0
- eccodeslib/bin/grib_filter +0 -0
- eccodeslib/bin/grib_get +0 -0
- eccodeslib/bin/grib_get_data +0 -0
- eccodeslib/bin/grib_histogram +0 -0
- eccodeslib/bin/grib_index_build +0 -0
- eccodeslib/bin/grib_ls +0 -0
- eccodeslib/bin/grib_set +0 -0
- eccodeslib/bin/gts_compare +0 -0
- eccodeslib/bin/gts_copy +0 -0
- eccodeslib/bin/gts_count +0 -0
- eccodeslib/bin/gts_dump +0 -0
- eccodeslib/bin/gts_filter +0 -0
- eccodeslib/bin/gts_get +0 -0
- eccodeslib/bin/gts_ls +0 -0
- eccodeslib/bin/metar_compare +0 -0
- eccodeslib/bin/metar_copy +0 -0
- eccodeslib/bin/metar_dump +0 -0
- eccodeslib/bin/metar_filter +0 -0
- eccodeslib/bin/metar_get +0 -0
- eccodeslib/bin/metar_ls +0 -0
- eccodeslib/include/eccodes.h +1629 -0
- eccodeslib/include/eccodes_config.h +134 -0
- eccodeslib/include/eccodes_ecbuild_config.h +72 -0
- eccodeslib/include/eccodes_version.h +21 -0
- eccodeslib/include/eccodes_windef.h +22 -0
- eccodeslib/include/grib_api.h +1742 -0
- eccodeslib/lib/cmake/eccodes/eccodes-config-version.cmake +43 -0
- eccodeslib/lib/cmake/eccodes/eccodes-config.cmake +112 -0
- eccodeslib/lib/cmake/eccodes/eccodes-import.cmake +5 -0
- eccodeslib/lib/cmake/eccodes/eccodes-targets-relwithdebinfo.cmake +381 -0
- eccodeslib/lib/cmake/eccodes/eccodes-targets.cmake +231 -0
- eccodeslib/lib/libeccodes.dylib +0 -0
- eccodeslib/lib/libeccodes_memfs.dylib +0 -0
- eccodeslib/lib/pkgconfig/eccodes.pc +48 -0
- eccodeslib-2.41.0.dev0.dist-info/METADATA +103 -0
- eccodeslib-2.41.0.dev0.dist-info/RECORD +66 -0
- eccodeslib-2.41.0.dev0.dist-info/WHEEL +6 -0
- eccodeslib-2.41.0.dev0.dist-info/licenses/AUTHORS +12 -0
- eccodeslib-2.41.0.dev0.dist-info/licenses/LICENSE +202 -0
- eccodeslib-2.41.0.dev0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
eccodeslib/__init__.py
ADDED
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
keys="md5Structure,md5Data,typicalDate,typicalTime,rdbType,rdbSubtype,ident,satelliteID,localLatitude,localLongitude,localLatitude1,localLongitude1,localLatitude2,localLongitude2"
|
|
4
|
+
|
|
5
|
+
opt=""
|
|
6
|
+
|
|
7
|
+
if [ $# -eq 3 ]
|
|
8
|
+
then
|
|
9
|
+
opt=$1
|
|
10
|
+
dir1=$2
|
|
11
|
+
dir2=$3
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
if [ $# -eq 2 ]
|
|
15
|
+
then
|
|
16
|
+
dir1=$1
|
|
17
|
+
dir2=$2
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
if [ $# -gt 3 ] || [ $# -lt 2 ]
|
|
21
|
+
then
|
|
22
|
+
echo usage: [bufr_compare options] bufr_compare_dir directory1 directory2
|
|
23
|
+
exit 1
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
bufr_index_build -k $keys -o 1.idx "$dir1"/* > /dev/null
|
|
27
|
+
bufr_index_build -k $keys -o 2.idx "$dir2"/* > /dev/null
|
|
28
|
+
|
|
29
|
+
bufr_compare -f $opt 1.idx 2.idx
|
|
30
|
+
rm -f 1.idx 2.idx
|
|
31
|
+
|
eccodeslib/bin/bufr_copy
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/bufr_dump
ADDED
|
Binary file
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
set -u
|
|
3
|
+
script_dir=`dirname $0`
|
|
4
|
+
BUFRDC_TOOL=bufrdc_emoslib_bufr_filter
|
|
5
|
+
EMOSLIB_TOOL=emoslib_bufr_filter
|
|
6
|
+
ECCODES_TOOL=codes_bufr_filter
|
|
7
|
+
result=0 # return code from function
|
|
8
|
+
ERR_TOOL_NOT_FOUND=666
|
|
9
|
+
|
|
10
|
+
the_tool=$ECCODES_TOOL
|
|
11
|
+
is_emoslib=0
|
|
12
|
+
|
|
13
|
+
#########################################################
|
|
14
|
+
# Arguments:
|
|
15
|
+
# arguments from the script command line
|
|
16
|
+
# Return Value:
|
|
17
|
+
# the global variable 'result' holds the exit code
|
|
18
|
+
try_tool()
|
|
19
|
+
{
|
|
20
|
+
if [ -f "${script_dir}/$the_tool" ]; then
|
|
21
|
+
${script_dir}/$the_tool "${@}"
|
|
22
|
+
result=$?
|
|
23
|
+
else
|
|
24
|
+
if command -v $the_tool >/dev/null 2>&1; then
|
|
25
|
+
$the_tool "${@}"
|
|
26
|
+
result=$?
|
|
27
|
+
else
|
|
28
|
+
#echo "Could not find $the_tool. Return error"
|
|
29
|
+
result=$ERR_TOOL_NOT_FOUND
|
|
30
|
+
fi
|
|
31
|
+
fi
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#########################################################
|
|
35
|
+
# Deal with case where no arguments are provided e.g. usage
|
|
36
|
+
if [ $# -eq 0 ]; then
|
|
37
|
+
# Give priority to ecCodes over emoslib
|
|
38
|
+
the_tool=$ECCODES_TOOL
|
|
39
|
+
try_tool "${@}"
|
|
40
|
+
if [ $result -eq $ERR_TOOL_NOT_FOUND ]; then
|
|
41
|
+
the_tool=$BUFRDC_TOOL
|
|
42
|
+
try_tool "${@}"
|
|
43
|
+
fi
|
|
44
|
+
exit 0
|
|
45
|
+
fi
|
|
46
|
+
|
|
47
|
+
# Now process arguments. The "-i" switch is specific to emoslib
|
|
48
|
+
for i in "$@" ; do
|
|
49
|
+
if [ "$i" = "-i" ]; then is_emoslib=1; fi
|
|
50
|
+
done
|
|
51
|
+
|
|
52
|
+
#########################################################
|
|
53
|
+
if [ $is_emoslib -eq 1 ]; then
|
|
54
|
+
pkg='emoslib/bufrdc'
|
|
55
|
+
the_tool=$EMOSLIB_TOOL
|
|
56
|
+
try_tool "${@}"
|
|
57
|
+
if [ $result -eq $ERR_TOOL_NOT_FOUND ]; then
|
|
58
|
+
the_tool=$BUFRDC_TOOL
|
|
59
|
+
try_tool "${@}"
|
|
60
|
+
fi
|
|
61
|
+
else
|
|
62
|
+
pkg='ecCodes'
|
|
63
|
+
the_tool=$ECCODES_TOOL
|
|
64
|
+
try_tool "${@}"
|
|
65
|
+
fi
|
|
66
|
+
if [ $result -eq $ERR_TOOL_NOT_FOUND ]; then
|
|
67
|
+
echo "ERROR: Could not find the executable: $the_tool. Aborting!" 2>&1
|
|
68
|
+
echo " The arguments you passed in are relevant to $pkg." 2>&1
|
|
69
|
+
echo " Please make sure you have $pkg installed in your path." 2>&1
|
|
70
|
+
exit 1
|
|
71
|
+
fi
|
|
72
|
+
exit $result
|
eccodeslib/bin/bufr_get
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/bufr_ls
ADDED
|
Binary file
|
eccodeslib/bin/bufr_set
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
ECCODES_VERSION_STR="2.41.0"
|
|
4
|
+
ECCODES_MAJOR_VERSION=2
|
|
5
|
+
ECCODES_MINOR_VERSION=41
|
|
6
|
+
ECCODES_PATCH_VERSION=0
|
|
7
|
+
# ECCODES_VERSION="$ECCODES_MAJOR_VERSION.$ECCODES_MINOR_VERSION.$ECCODES_PATCH_VERSION"
|
|
8
|
+
|
|
9
|
+
ECCODES_GIT_SHA1="a9c914e098b1e64d69691fb1dcd5be600cd3c47c"
|
|
10
|
+
if [ "x$ECCODES_GIT_SHA1" = "x" ]; then
|
|
11
|
+
ECCODES_GIT_SHA1="unknown"
|
|
12
|
+
fi
|
|
13
|
+
|
|
14
|
+
#################################################################
|
|
15
|
+
# Commands
|
|
16
|
+
#################################################################
|
|
17
|
+
usage()
|
|
18
|
+
{
|
|
19
|
+
echo "Usage: $0 [--version] [--info] [--git]"
|
|
20
|
+
exit $1
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
version()
|
|
24
|
+
{
|
|
25
|
+
echo "${ECCODES_VERSION_STR}"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
print_feature()
|
|
29
|
+
{
|
|
30
|
+
if [ -z "$1" ]; then
|
|
31
|
+
echo "OFF"
|
|
32
|
+
elif [[ $1 =~ (true|TRUE|ON|1) ]]; then
|
|
33
|
+
echo "ON"
|
|
34
|
+
else
|
|
35
|
+
echo "OFF"
|
|
36
|
+
fi
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
build_type="RelWithDebInfo"
|
|
40
|
+
info()
|
|
41
|
+
{
|
|
42
|
+
echo "ecCodes version ${ECCODES_VERSION_STR}, git-sha1 ${ECCODES_GIT_SHA1}"
|
|
43
|
+
echo ""
|
|
44
|
+
echo "Build:"
|
|
45
|
+
echo " build type : RelWithDebInfo"
|
|
46
|
+
echo " timestamp : 20250328132733"
|
|
47
|
+
echo " op. system : Darwin-22.5.0 (macosx.64)"
|
|
48
|
+
echo " processor : arm64"
|
|
49
|
+
echo " sources : /opt/actions-runner/work/_work/eccodes/eccodes/proj"
|
|
50
|
+
echo " c++ compiler : AppleClang 14.0.3.14030022"
|
|
51
|
+
# Add the most common build type
|
|
52
|
+
if [ $build_type = "RelWithDebInfo" ]; then
|
|
53
|
+
echo " flags : -O2 -g -DNDEBUG"
|
|
54
|
+
else
|
|
55
|
+
echo " flags : -pipe"
|
|
56
|
+
fi
|
|
57
|
+
# echo " fortran compiler: "
|
|
58
|
+
# echo " flags : "
|
|
59
|
+
echo ""
|
|
60
|
+
echo "Features:"
|
|
61
|
+
echo " FORTRAN : $(print_feature 0)"
|
|
62
|
+
echo " AEC : $(print_feature 1)"
|
|
63
|
+
echo " MEMFS : $(print_feature 1)"
|
|
64
|
+
echo " ECCODES_THREADS : $(print_feature 1)"
|
|
65
|
+
echo " ECCODES_OMP_THREADS : $(print_feature 0)"
|
|
66
|
+
echo " JPG : $(print_feature 1)"
|
|
67
|
+
echo " PNG : $(print_feature 1)"
|
|
68
|
+
echo " NETCDF : $(print_feature 0)"
|
|
69
|
+
echo ""
|
|
70
|
+
# echo "Dependencies: "
|
|
71
|
+
# if [ -n "" ]; then
|
|
72
|
+
# echo " eckit version (), git-sha1 $(short_gitsha1 )"
|
|
73
|
+
# else
|
|
74
|
+
# echo " None"
|
|
75
|
+
# fi
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
gitsha1()
|
|
79
|
+
{
|
|
80
|
+
echo "${ECCODES_GIT_SHA1}"
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
short_gitsha1()
|
|
84
|
+
{
|
|
85
|
+
if [ -z "$1" ]; then
|
|
86
|
+
echo "unknown"
|
|
87
|
+
else
|
|
88
|
+
echo $1 | head -c 13
|
|
89
|
+
fi
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#################################################################
|
|
93
|
+
# Parse command-line
|
|
94
|
+
#################################################################
|
|
95
|
+
|
|
96
|
+
if test $# -eq 0; then
|
|
97
|
+
info
|
|
98
|
+
# usage 1
|
|
99
|
+
fi
|
|
100
|
+
|
|
101
|
+
while test $# -gt 0; do
|
|
102
|
+
|
|
103
|
+
# Split --option=value in $opt="--option" and $val="value"
|
|
104
|
+
|
|
105
|
+
opt=""
|
|
106
|
+
val=""
|
|
107
|
+
|
|
108
|
+
case "$1" in
|
|
109
|
+
--*=*)
|
|
110
|
+
opt=`echo "$1" | sed 's/=.*//'`
|
|
111
|
+
val=`echo "$1" | sed 's/--[_a-zA-Z0-9]*=//'`
|
|
112
|
+
;;
|
|
113
|
+
--*)
|
|
114
|
+
opt=$1
|
|
115
|
+
;;
|
|
116
|
+
*)
|
|
117
|
+
break
|
|
118
|
+
;;
|
|
119
|
+
esac
|
|
120
|
+
|
|
121
|
+
# Parse options
|
|
122
|
+
case "$opt" in
|
|
123
|
+
--version)
|
|
124
|
+
version
|
|
125
|
+
;;
|
|
126
|
+
--git)
|
|
127
|
+
gitsha1
|
|
128
|
+
;;
|
|
129
|
+
--info)
|
|
130
|
+
info
|
|
131
|
+
;;
|
|
132
|
+
--)
|
|
133
|
+
shift
|
|
134
|
+
break
|
|
135
|
+
;;
|
|
136
|
+
*)
|
|
137
|
+
echo "unknown option: $opt"
|
|
138
|
+
usage 1
|
|
139
|
+
;;
|
|
140
|
+
esac
|
|
141
|
+
shift
|
|
142
|
+
done
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
eccodeslib/bin/grib2ppm
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/grib_copy
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/grib_dump
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/grib_get
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
eccodeslib/bin/grib_ls
ADDED
|
Binary file
|
eccodeslib/bin/grib_set
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/gts_copy
ADDED
|
Binary file
|
eccodeslib/bin/gts_count
ADDED
|
Binary file
|
eccodeslib/bin/gts_dump
ADDED
|
Binary file
|
|
Binary file
|
eccodeslib/bin/gts_get
ADDED
|
Binary file
|
eccodeslib/bin/gts_ls
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
eccodeslib/bin/metar_get
ADDED
|
Binary file
|
eccodeslib/bin/metar_ls
ADDED
|
Binary file
|