Data is deleted using idba_dimenticami:
c Delete all data from the station with id 4 in year 2002
call idba_seti(handle, "ana_id", 4)
call idba_seti(handle, "year", 2002)
call idba_dimenticami(handle)
This code introduces a new function:
idba_dimenticami will not work unless rewrite has been enabled for the data when opening the database.