File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 1515
1616from dask import delayed , compute
1717from loguru import logger
18- from shared_utils import utils
18+ from calitp_data_analysis import utils
1919from prep import GCS_FILE_PATH
2020
2121fs = gcsfs .GCSFileSystem ()
Original file line number Diff line number Diff line change 3131 " from siuba import *\n " ,
3232 " \n " ,
3333 " from tqdm.notebook import tqdm\n " ,
34- " \n " ,
35- " import shared_utils"
34+ " from calitp_data_analysis import geography_utils"
3635 ]
3736 },
3837 {
268267 "outputs" : [],
269268 "source" : [
270269 " # Transform the grid points to your preferred CRS\n " ,
271- " central = central.to_crs(shared_utils. geography_utils.CA_NAD83Albers).set_index('pointid')\n " ,
270+ " central = central.to_crs(geography_utils.CA_NAD83Albers).set_index('pointid')\n " ,
272271 " central = central >> select(-_.Point_ID)"
273272 ]
274273 },
Original file line number Diff line number Diff line change 1212import sys
1313
1414from loguru import logger
15- from shared_utils import utils
15+ from calitp_data_analysis import utils
1616
1717GCS_FILE_PATH = "gs://calitp-publish-data-analysis/py_crow_flies/"
1818CRS = "EPSG:3857"
Original file line number Diff line number Diff line change 2121 " from siuba import *\n " ,
2222 " \n " ,
2323 " from tqdm.notebook import tqdm\n " ,
24- " \n " ,
25- " import shared_utils"
24+ " from calitp_data_analysis import utils"
2625 ]
2726 },
2827 {
7877 "metadata" : {},
7978 "outputs" : [],
8079 "source" : [
81- " shared_utils. utils.geoparquet_gcs_export(central, crow_folder, 'CentralCal_POIs')"
80+ " utils.geoparquet_gcs_export(central, crow_folder, 'CentralCal_POIs')"
8281 ]
8382 },
8483 {
9897 "metadata" : {},
9998 "outputs" : [],
10099 "source" : [
101- " shared_utils. utils.geoparquet_gcs_export(nor, crow_folder, 'NorCal_POIs')"
100+ " utils.geoparquet_gcs_export(nor, crow_folder, 'NorCal_POIs')"
102101 ]
103102 },
104103 {
118117 "metadata" : {},
119118 "outputs" : [],
120119 "source" : [
121- " shared_utils. utils.geoparquet_gcs_export(so, crow_folder, 'SoCal_POIs')"
120+ " utils.geoparquet_gcs_export(so, crow_folder, 'SoCal_POIs')"
122121 ]
123122 },
124123 {
138137 "metadata" : {},
139138 "outputs" : [],
140139 "source" : [
141- " shared_utils. utils.geoparquet_gcs_export(mo, crow_folder, 'Mojave_POIs')"
140+ " utils.geoparquet_gcs_export(mo, crow_folder, 'Mojave_POIs')"
142141 ]
143142 },
144143 {
You can’t perform that action at this time.
0 commit comments