Skip to content

update many models' output spec created_if conditions to be accurate …#2225

Draft
emlys wants to merge 6 commits intonatcap:mainfrom
emlys:bugfix/output-spec-corrections
Draft

update many models' output spec created_if conditions to be accurate …#2225
emlys wants to merge 6 commits intonatcap:mainfrom
emlys:bugfix/output-spec-corrections

Conversation

@emlys
Copy link
Member

@emlys emlys commented Oct 31, 2025

…on sample data

Also fixes #2070

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
  • Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@@ -1675,9 +1667,7 @@ def _mask_below_start_value(array):
table_df = pandas.DataFrame(table_dict)

# Write dataframe to csv, with columns in designated sequence
base_attribute_table_path = os.path.splitext(target_raster_path)[0]
attribute_table_path = base_attribute_table_path + '.csv'
table_df.to_csv(attribute_table_path, index=False, columns=column_names)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified this function to pass in the CSV path from the file registry rather than creating it from the raster name.

@dcdenu4 dcdenu4 added this to the 3.18.0 milestone Jan 22, 2026
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

Successfully merging this pull request may close these issues.

Unused output spec entry in SDR?

2 participants