Closed andrecastro0o closed 4 months ago
In main.py#L58 db_path = Path(config_dict['data_dir']) / 'disdrodl.db
This means that is the data_dir
is the same for the parsivel and thies, they will both write to the same DB!!!!
To counter this problem, I will add the variable db_filename
to the conf files and to main.py
The same has to be done in the export_disdrodlDB2NC.py
the
data_dir
value determines where the disdroDL exported NetCDFs are saved, in the instrument's hostPC. Thedata_dir
values in is defined in theconfigs_netcdf/
conf filesFor the Thies, it was defined that the data should be saved in
data_dir: '/data/disdroDL/thies/'
and for the parsivel indata_dir: '/data/disdroDL/'
I am think that this difference is unnecessary, since the files source instrument can be inferred from their filenames ie. 20240722_Green_Village-GV_PAR008.nc 20240722_Green_Village-GV_THIES006.nc
Hence I believe it is worth setting the Thies to write to the same directory