@@ -72,16 +72,16 @@ To actually unzip the ned and nlcd tiles, you can use the provided script
7272
7373This will extract all the ned and nlcd zip files in place.
7474
75- ### Extracting the census tract zip file
75+ ### Extracting the county zip file
7676
77- To actually unzip the census tract json files from the zip file, you can use the
78- provided script ` data/extract_census .py` :
77+ To only unzip the county json files from the zip file, you can use the
78+ provided script ` script/extract_counties_json .py` :
7979
8080```
81- python extract_census .py
81+ python extract_counties_json .py --extract
8282```
8383
84- This will extract all the census tract json files from the zip file in place.
84+ This will extract all counties json files from the zip file in place.
8585
8686
8787### Population data
@@ -114,10 +114,10 @@ This also means a specific process for plugging the geo data for use by these SA
114114main SAS repository:
115115 - ` data/geo/ned/ ` pointing to ` Common-Data/data/ned/ `
116116 - ` data/geo/nlcd/ ` pointing to ` Common-Data/data/nlcd/ `
117- - ` data/census_tracts / ` pointing to ` Common-Data/data/census / `
117+ - ` data/counties / ` pointing to ` Common-Data/data/counties / `
118118
119119+ The last option is to copy (or move) the extracted files into a folder ` data/geo/ned/ ` ,
120- ` data/geo/nlcd ` and ` data/census_tracts ` of the SAS repository (which are the default
120+ ` data/geo/nlcd ` and ` data/counties ` of the SAS repository (which are the default
121121target of the CONFIG.py file).
122122
123123
@@ -130,15 +130,15 @@ It is best to use the provided drivers found in the [`winnf`](src/README.md) mod
130130import winnf
131131from winnf.geo import terrain
132132from winnf.geo import nlcd
133- from winnf.pop import census
133+ from winnf.pop import county
134134
135135# Initialize the module data location.
136136winnf.SetGeoBaseDir(' /winnforum/Common-Data/data' )
137137
138138# Create drivers towards the geo data
139139terrain_driver = terrain.TerrainDriver()
140140nlcd_driver = nlcd.NlcdDriver()
141- census_driver = census.CensusTractDriver ()
141+ county_driver = county.CountyDriver ()
142142
143143# Read the data.
144144ned_data = terrain_driver.GetTerrainElevation(lats, lons)
@@ -201,19 +201,19 @@ The extraction generation script have been updated accordingly.
201201Note: The data source is from 2001 with a reprocess in 2008.
202202
203203
204- ### USGS Census Tract Data
204+ ### County Data
205205
206- The [ data/census/ ] ( data/census ) folder contains the data for the 2010 USGS Census tract data
207- in geojson format. The 2010 census tract data is required as per the FCC rule part.96 requirements.
206+ The [ data/counties/ ] folder contains the data for the 2017 FCC county data
207+ in geojson format. The 2017 county is required as per the FCC rule part.96 requirements.
208208
209- All the USGS census tract data are stored in one census tract per file in geojson format with
210- the file name being the fips code (aka. GEOID in the census tract data term) of the
211- corresponding census tract . For example, for a census tract with "STATEFP"="12",
209+ All the county data are stored in one county per file in geojson format with
210+ the file name being the fips code (aka. GEOID in the coutny term) of the
211+ corresponding county . For example, for a county with "STATEFP"="12",
212212"COUNTYFP"="057","TRACTCE"="013312","GEOID"="12057013312", the file name is ` 12057013312.json ` .
213213
214214They can be displayed in any web site with geojson display capability.
215215
216- Census tract data is used for calculations in, for example, PPA reference model.
216+ County data is used for calculations in, for example, PPA reference model.
217217
218218## Adding new geo files
219219
@@ -235,3 +235,16 @@ and generate the data that are provided by the `Common-Data` repository.
235235You ** DO NOT need** to run those scripts unless you want to verify the process.
236236
237237See the [ scripts/README.md] ( scripts/README.md ) file.
238+
239+ ## Counties
240+ The [ data/counties/] folder contains the data for the 2017 defined using the United States Census Bureau’s 2017 counties
241+ in geojson format. The 2017 county data is required as per the FCC rule part.96 requirements.
242+
243+ All the county data are stored in one county per file in geojson format with
244+ the file name being the fips code (aka. GEOID in the county data term) of the
245+ corresponding county. For example, for a county with "STATEFP"="12",
246+ "COUNTYFP"="057","TRACTCE"="013312","GEOID"="12057013312", the file name is ` 12057013312.json ` .
247+
248+ They can be displayed in any web site with geojson display capability.
249+
250+ county data is used for calculations in, for example, PPA reference model.
0 commit comments