-
Notifications
You must be signed in to change notification settings - Fork 22
Data Storage
All Flow-By-Activity and Flow-By-Sector files generated via FLOWSA or downloaded from Data Commons are stored in a user's local directory. To check where the files are stored, run the following code in the python console:
import appdirs
appdirs.user_data_dir()
Ensure you have 4 folders within your local directory:
- flowsa/Bibliography
- flowsa/FlowByActivity
- flowsa/FlowBySector
- flowsa/Log
Final Flow-By-Activity and Flow-By-Sector output files for each version of flowsa are stored on Data Commons, an Amazon AWS s3 server. Data files are stored in parquet format, as this file type is smaller and faster to read than traditional file types, such as a csv. Please refer to this example on how to read a parquet and convert to a csv.
Storing files on a remote server enables use of these files by other tools, such as useeior, without requiring a user to have python installed.
flowsa is developed and maintained by Office of Research & Development (ORD), Center for Environmental Solutions & Emergency Response (CESER), Land Remediation & Technology Division (LRTD), Environmental Decision Analytics Branch (EDAB), U.S. Environmental Protection Agency, Cincinnati, OH 45268. See OMB Memorandum M-16-21 Section 4 & Releasing Open Source Code.
Objectives
Projects Using FLOWSA Output
Install & Run
Example Code
Reading Parquet Files
Using FLOWSA
Loading External FBS Method YAMLs
API Keys
Troubleshooting
Contributing
Creating a Flow-By-Activity Dataset
Creating a Flow-By-Activity Crosswalk
Creating a Flow-By-Sector Dataset
FBA and FBS Naming Convention
NAICS Crosswalk
Available Data
Flow Classes
Flow-By-Activity Datasets
Flow-By-Sector Datasets
Data Storage
EPA's Tools for Industrial Ecology
Suggested Citations for FLOWSA and FBS Data
Publications and Presentations
Acknowledgements