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

move get_*.sh files to new "wmo_scripts" directory #236

Merged
merged 4 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion wgrib2/get_BUFR02020.sh → wmo_scripts/get_BUFR02020.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/BUFR4"

outfile="BUFRTable_0_02_020.dat"
outfile="../wgrib2/BUFRTable_0_02_020.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---BUFR Code Table 02 020: Satellite classification
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_CCT05.sh → wmo_scripts/get_CCT05.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/CCT"

outfile="BUFRTable_0_01_007.dat"
outfile="../wgrib2/BUFRTable_0_01_007.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---Common Code Table 05: Satellite identifier
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_CCT08.sh → wmo_scripts/get_CCT08.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/CCT"

outfile="BUFRTable_0_02_019.dat"
outfile="../wgrib2/BUFRTable_0_02_019.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---Common Code Table 08: Satellite Instruments
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_CCT11.sh → wmo_scripts/get_CCT11.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/CCT"

outfile="code_table0.dat"
outfile="../wgrib2/code_table0.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---Common Code Table 11: Originating/generating centres
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_CCT14.sh → wmo_scripts/get_CCT14.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/CCT"

outfile="codetable_4_230.c" # resp. codetable_4_233.c
outfile="../wgrib2/codetable_4_230.c" # resp. codetable_4_233.c
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---Common Code Table 14: Atmospheric chemical or physical constituent type
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_0.0.sh → wmo_scripts/get_code_Table_0.0.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_0.0.dat"
outfile="../wgrib2/CodeTable_0.0.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 0.0: Product discipline
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_1.2.sh → wmo_scripts/get_code_Table_1.2.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_1.2.dat"
outfile="../wgrib2/CodeTable_1.2.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 1.2: Significance of reference time
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.1.sh → wmo_scripts/get_code_Table_3.1.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.1.dat"
outfile="../wgrib2/CodeTable_3.1.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.1: Grid definition template number
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.11.sh → wmo_scripts/get_code_Table_3.11.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.11.dat"
outfile="../wgrib2/CodeTable_3.11.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.11: Interpretation of list of numbers at end of section 3
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.15.sh → wmo_scripts/get_code_Table_3.15.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.15.dat"
outfile="../wgrib2/CodeTable_3.15.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.15: Physical meaning of vertical coordinate
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.2.sh → wmo_scripts/get_code_Table_3.2.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.2.dat"
outfile="../wgrib2/CodeTable_3.2.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.2: Shape of the reference system
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.20.sh → wmo_scripts/get_code_Table_3.20.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.20.dat"
outfile="../wgrib2/CodeTable_3.20.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.20: Type of horizontal line
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.21.sh → wmo_scripts/get_code_Table_3.21.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.21.dat"
outfile="../wgrib2/CodeTable_3.21.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.21: Vertical dimension coordinate values definition
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_3.8.sh → wmo_scripts/get_code_Table_3.8.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_3.8.dat"
outfile="../wgrib2/CodeTable_3.8.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 3.8: Grid point position
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.0.sh → wmo_scripts/get_code_Table_4.0.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.0.dat"
outfile="../wgrib2/CodeTable_4.0.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.0: Product definition template number
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.10.sh → wmo_scripts/get_code_Table_4.10.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.10.dat"
outfile="../wgrib2/CodeTable_4.10.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.10: Type of statistical processing
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.11.sh → wmo_scripts/get_code_Table_4.11.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.11.dat"
outfile="../wgrib2/CodeTable_4.11.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.11: Type of time interval
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.15.sh → wmo_scripts/get_code_Table_4.15.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.15.dat"
outfile="../wgrib2/CodeTable_4.15.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.15: Type of spatial processing used to arrive at given data value from the source data
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.16.sh → wmo_scripts/get_code_Table_4.16.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.16.dat"
outfile="../wgrib2/CodeTable_4.16.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.16: Quality value associated with parameter
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.208.sh → wmo_scripts/get_code_Table_4.208.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.208.dat"
outfile="../wgrib2/CodeTable_4.208.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.208: Turbulence
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.212.sh → wmo_scripts/get_code_Table_4.212.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.212.dat"
outfile="../wgrib2/CodeTable_4.212.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.212: Land use
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.222.sh → wmo_scripts/get_code_Table_4.222.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.222.dat"
outfile="../wgrib2/CodeTable_4.222.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.222: Categorical result
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions wgrib2/get_code_Table_4.235.sh → wmo_scripts/get_code_Table_4.235.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tab="4.235"
no=`echo $tab | sed 's/-/./'`
tab=`echo $tab | sed 's/\./-/'`

out="CodeTable_$no.dat"
out="../wgrib2/CodeTable_$no.dat"

# set -x

Expand All @@ -25,7 +25,7 @@ lc=0
[ $no == '4.10' ] && no='4.10_need_to_edit'
[ $no == '4.15' ] && lc=1

out="CodeTable_$no.dat"
out="../wgrib2/CodeTable_$no.dat"

if [ 1 -eq 1 ] ; then

Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.240.sh → wmo_scripts/get_code_Table_4.240.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.240.dat"
outfile="../wgrib2/CodeTable_4.240.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.240: Type of distribution function
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.3.sh → wmo_scripts/get_code_Table_4.3.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.3.dat"
outfile="../wgrib2/CodeTable_4.3.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.3: Type of generating process
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.4.sh → wmo_scripts/get_code_Table_4.4.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.4.dat"
outfile="../wgrib2/CodeTable_4.4.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.4: Indicator of unit of time range
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.5_ncep.sh → wmo_scripts/get_code_Table_4.5_ncep.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ lc=0
[ $no == '4.9' ] && no='4.9_need_to_edit'
[ $no == '4.10' ] && no='4.10_need_to_edit'

out="CodeTable_$no.dat"
out="../wgrib2/CodeTable_$no.dat"


if [ 1 -eq 1 ] ; then
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.7.sh → wmo_scripts/get_code_Table_4.7.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.7.dat"
outfile="../wgrib2/CodeTable_4.7.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.7: Derived forecast
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.8.sh → wmo_scripts/get_code_Table_4.8.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.8.dat"
outfile="../wgrib2/CodeTable_4.8.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.8: Clustering method
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.9.sh → wmo_scripts/get_code_Table_4.9.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.9.dat"
outfile="../wgrib2/CodeTable_4.9.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.9: Probability type
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_4.91.sh → wmo_scripts/get_code_Table_4.91.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_4.91.dat"
outfile="../wgrib2/CodeTable_4.91.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 4.91: Type of Interval
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_5.0.sh → wmo_scripts/get_code_Table_5.0.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_5.0.dat"
outfile="../wgrib2/CodeTable_5.0.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 5.0: Data representation template number
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_5.1.sh → wmo_scripts/get_code_Table_5.1.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_5.1.dat"
outfile="../wgrib2/CodeTable_5.1.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 5.1: Type of original field values
Expand Down
2 changes: 1 addition & 1 deletion wgrib2/get_code_Table_6.0.sh → wmo_scripts/get_code_Table_6.0.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

urlbase="https://github.com/wmo-im/GRIB2"

outfile="CodeTable_6.0.dat"
outfile="../wgrib2/CodeTable_6.0.dat"
if [ -f "$outfile" ]; then mv "$outfile" "$outfile.old"; fi

#---GRIB2 Code Table 6.0: Bit map indicator
Expand Down
Loading