Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

et_demands_zonal_stats_arcpy.py Crosswalk File Read #32

Open
cpearson1 opened this issue Feb 8, 2018 · 0 comments
Open

et_demands_zonal_stats_arcpy.py Crosswalk File Read #32

cpearson1 opened this issue Feb 8, 2018 · 0 comments

Comments

@cpearson1
Copy link
Collaborator

cpearson1 commented Feb 8, 2018

The CDL to ETDemands crosswalk .csv filename is currently hard coded in the et_demands_zonal_stats_arcpy.py script. This filename should be an input arg.

~Line 130
# Crosswalk values are coming from cdl_crosswalk.csv and being upacked into a dictionary
# Allows user to modify crosswalk in excel
# Pass in crosswalk file as an input argument
crosswalk_file = os.path.join(os.path.dirname(os.path.abspath(file)), 'cdl_crosswalk_usbrmod.csv')
cross = pd.read_csv(crosswalk_file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant