deck702 missing code tables for slp units, possible solution to map platform subtype
Hello,
I just committed the CDM for deck702 in a local branch at the moment since the SLP units code table is still incomplete.
A detailed explanation regarding this issue can be found in Issue #3 from the mdf_reader() repository
It seems that besides Ship Name and AT and SLP units there is nothing else to map from the metadata attachment.
However, when trying to build the code tables for the units, I noticed that some ship names from this deck contain also information regarding the platform subtype in the Name field but not in all the imma files. If we were to extract this from the name we would have to search for key words in the Name field string. (e.g. Bark, Steamer, etc)
array(['Fremad, Brig', 'Formica, Bark', 'Solon', 'Neptunus, Bark',
'Evviva, Bark', 'V ttan, Bark', 'Inga', 'Qvos, Bark',
'Tenax propositi', 'Hansteen, Steam', 'Immanuel, Bark',
'Solon, Bark', 'Agatha', 'Aladdin', 'Trafik, Schooner',
'Nescio, Bark', 'Hilton'], dtype=object)
It is possible by listing all the unique names along the time series and writing a function so the CDM mapper extracts this information when a certain sting is mentioned in the name.
Let me know what do you think is worth spending time on that. I have no idea how many ship names from this deck will contain such information though.