2020-01-28 14:32:34 +00:00
|
|
|
# (C) Copyright 2005- ECMWF.
|
2013-03-25 12:04:10 +00:00
|
|
|
|
|
|
|
flags[1] resolutionAndComponentFlags 'grib2/tables/[tablesVersion]/3.3.table' : edition_specific,no_copy;
|
|
|
|
|
|
|
|
# Note our flagbit numbers run from 7 to 0, while WMO convention uses 1 to 8
|
|
|
|
# (most significant to least significant)
|
|
|
|
|
2024-07-16 11:30:03 +00:00
|
|
|
flagbit resolutionAndComponentFlags1(resolutionAndComponentFlags,7) = 0: read_only; #Reserved
|
|
|
|
flagbit resolutionAndComponentFlags2(resolutionAndComponentFlags,6) = 0: read_only; #Reserved
|
2013-03-25 12:04:10 +00:00
|
|
|
flagbit iDirectionIncrementGiven(resolutionAndComponentFlags,5);
|
|
|
|
flagbit jDirectionIncrementGiven(resolutionAndComponentFlags,4);
|
|
|
|
flagbit uvRelativeToGrid(resolutionAndComponentFlags,3);
|
2024-07-16 11:30:03 +00:00
|
|
|
flagbit resolutionAndComponentFlags6(resolutionAndComponentFlags,2) = 0: read_only; #Reserved
|
|
|
|
flagbit resolutionAndComponentFlags7(resolutionAndComponentFlags,1) = 0: read_only; #Reserved
|
|
|
|
flagbit resolutionAndComponentFlags8(resolutionAndComponentFlags,0) = 0: read_only; #Reserved
|
2013-03-25 12:04:10 +00:00
|
|
|
|
|
|
|
concept ijDirectionIncrementGiven {
|
|
|
|
'1' = {
|
|
|
|
iDirectionIncrementGiven = 1;
|
|
|
|
jDirectionIncrementGiven = 1;
|
|
|
|
}
|
|
|
|
'0' = {
|
|
|
|
iDirectionIncrementGiven = 1;
|
|
|
|
jDirectionIncrementGiven = 0;
|
|
|
|
}
|
|
|
|
'0' = {
|
|
|
|
iDirectionIncrementGiven = 0;
|
|
|
|
jDirectionIncrementGiven = 1;
|
|
|
|
}
|
|
|
|
'0' = {
|
|
|
|
iDirectionIncrementGiven = 0;
|
|
|
|
jDirectionIncrementGiven = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
alias DiGiven=iDirectionIncrementGiven;
|
|
|
|
alias DjGiven=jDirectionIncrementGiven;
|