File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 10
10
11
11
12
12
jobs :
13
- build :
13
+ generate-hourly-fgb :
14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
42
42
DATE_TWO_HOURS_AGO : ${{ steps.set_date.outputs.DATE_TWO_HOURS_AGO }}
43
43
HOUR_TWO_HOURS_AGO : ${{ steps.set_hour.outputs.HOUR_TWO_HOURS_AGO }}
44
44
45
- # - name: padded hour
46
- # id: padded_hour
47
- # run: |
48
- # if [[ $HOUR_TWO_HOURS_AGO -lt 10 && $HOUR_TWO_HOURS_AGO -gt 0 ]]; then
49
- # HOUR_TWO_HOURS_AGO="0$HOUR_TWO_HOURS_AGO"
50
- # fi
51
- # echo "PADDED_HOUR=$HOUR_TWO_HOURS_AGO" >> $GITHUB_OUTPUT
52
- # env:
53
- # HOUR_TWO_HOURS_AGO: ${{ steps.set_hour.outputs.HOUR_TWO_HOURS_AGO }}
54
-
55
45
- name : convert to fgb for the hour ${{ steps.set_hour.outputs.HOUR_TWO_HOURS_AGO }}:00 on ${{ steps.set_date.outputs.DATE_TWO_HOURS_AGO }}
56
46
run : |
57
47
docker run -v ./data:/tmp gradient-pipeline sh -c "ogr2ogr -f FlatGeobuf /tmp/${DATE_TWO_HOURS_AGO}T${HOUR_TWO_HOURS_AGO}:00.fgb /tmp/${DATE_TWO_HOURS_AGO}T${HOUR_TWO_HOURS_AGO}:00.geojson -skipfailures"
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ const { processChangesets } = require('./src/process');
14
14
async function run ( date , hour ) {
15
15
let url = getHourlyReplicationFileURL ( date , hour ) ;
16
16
let changesets = await getChangesetIDs ( url ) ;
17
- changesets = changesets . slice ( 0 , 2 ) ;
18
- console . log ( changesets ) ;
17
+ // changesets = changesets.slice(0, 2);
18
+ // console.log(changesets);
19
19
processChangesets ( changesets , date , hour ) ;
20
20
}
21
21
You can’t perform that action at this time.
0 commit comments