Skip to content
Snippets Groups Projects
Commit d478bcb2 authored by gcorradini's avatar gcorradini
Browse files

something with paths is not right

parent c3babca2
No related branches found
No related tags found
7 merge requests!72[DRAFT] All the changes,!70Make it easier to use filepaths as inputs to pipelines,!68Changes to get BigCreek working with preprocess on ADE,!67Back all `AllFires` and `Fire` objects with 2 dataframes,!66Unit Tests,!63Draft: [DO NOT MERGE] Setting up preprocessing pipelines,!61Additions: primary keys, speed ups (preprocessing and postprocessing), tests, scalene, reorg entire fireatlas
......@@ -189,7 +189,7 @@ def preprocess_region_t(t: TimeStep, sensor: Literal["VIIRS", "TESTING123"], reg
# if regional output already exists, exit early so we don't reprocess
output_filepath = preprocessed_filename(t, sensor, region=region)
if os.path.exists(output_filepath):
return
return output_filepath
# do regional filtering
shp_Reg = FireIO.get_reg_shp(region[1])
......
......@@ -164,5 +164,8 @@ def test_preprocess_region_t(
)
# assert
assert outfile_df_path
assert os.path.exists(outfile_df_path)
assert len(pd.read_csv(outfile_df_path)) > 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment