forked from datacommonsorg/data
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scripts for events pipeline (datacommonsorg#847)
* events pipeline scripts and utilities * merge file_util * remove unused files * fix lint * add pipeline to readme * remove unused file * add events pipeline unit test * fix lint * add new requirements * fix python for older syntax * review comment changes * review comments * fix yera in hdeader comment. * skip ee image generation for existing files * fix start date across runs * fix containedInplace chain for affected place * fix lint * add observationDates and list of affectedplaces * fix lint * fix typo * fix typo * Revert "fix typo" This reverts commit fc99c95. * fix comment typo * fix lint as per python_format_check https://github.com/datacommonsorg/data/pull/847/checks?check_run_id=12965968831
- Loading branch information
Showing
46 changed files
with
8,882 additions
and
1,414 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the 'License'); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an 'AS IS' BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
"""Common flags used across scripts.""" | ||
|
||
from absl import flags | ||
|
||
flags.DEFINE_string('input_csv', '', 'CSV file to process') | ||
flags.DEFINE_string('config', '', 'Config dictionary with parameter settings.') | ||
flags.DEFINE_bool('debug', False, 'Enable debug messages.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.