saved-models / data-utilities

SAVED project - data processing tools for fish farms
4 stars 0 forks source link

fisdat still not working #13

Open gillibrandpa opened 3 months ago

gillibrandpa commented 3 months ago

I have modelled time series data in csv files, in this format: eastings,northings,date,time,Mature_lice_dens_50,Mature_lice_dens_100,Mature_lice_dens_150,Mature_lice_dens_200,Mature_lice_dens_250,Mature_lice_dens_500 210253,775979,24/10/2011,12.0000,0,0,0,0,0,0.0013229 210253,775979,24/10/2011,12.3333,0,0,0,0,0,0 etc

The yaml file is attached (renamed here as a txt file). Schema_hourly_sentinelTimeSeries_MOWI.yaml.txt

Running this command: fisdat Schema_hourly_sentinelTimeSeries_MOWI.yaml sentinelLiceDensity_timeseries_A11_MOWI.csv sentinel_MOWI_manifest.yaml

I get this error: /storage/philip.gillibrand/work/SAVED/saved_fisdat/fisdat/datamodel.py:371: FutureWarning: Possible nested set at position 10 pattern=re.compile(r'^:?[a-z]+[[a-z]||]*$')) This is fisdat version 0.7+4.ga70efdb, commit a70efdba00aaff8dce42f0a698b8f1af572a5b3f Invalid target class TableSchema

druimalban commented 3 months ago

I think the schema file has multiple definitions of the 'slots' section. After I removed the first one, it seemed to silence that error for me. Not the most helpful error, I know!