Opened 8 years ago

Last modified 7 years ago

#288 new task

RCD photo renamer

Reported by: mggr Owned by: chrfi
Priority: immediate Milestone:
Component: Processing: general Keywords:
Cc: mark1 Other processors:

Description

We'd like a small script to to automatically rename the photos from the normal naming to:

RCD105-PPPP_PP-yyyyddd-nnn.tif
where:
  PPPP_PP = project code (e.g. GB09_00)
  yyyy is year the data was acquired
  ddd is the Julian day of the data acquisition
  nnn is the image number

At the same time, this needs to parse a supplied ImageEvents csv file and produce an updated csv with the new names.

Change History (7)

comment:1 Changed 8 years ago by mggr

  • Cc mark1 added

comment:2 Changed 8 years ago by chrfi

format of file name changed to RCD105-PPPP_PP-yyyydd-nnnnn.tif

due to the events file supporting up to 5 digit photo numbers.

comment:3 Changed 7 years ago by mggr

Please could you modify this script to update the real-time nav in the original CSV with post-processed nav from an sbet, as done in the tiff tagger?

comment:4 Changed 7 years ago by chrfi

the script now renames the images and event file entrys but also copies the gps lat and long values from the tiff file into the event file to ensure they are both the same (if for instance the tiff was tagged using an sbet file the two will differ until photo_renamer is run)

commited to svn

comment:5 Changed 7 years ago by chrfi

chris you need to add the pitch roll and heading as well! these are also read from the sbet if present and so will also differ

comment:6 Changed 7 years ago by chrfi

script renamed rename_photos_update_events_file due to restructuring of tifftagger and photo_renamer

comment:7 Changed 7 years ago by mggr

Could you verify the info on http://arsf-dan.nerc.ac.uk/trac/wiki/Procedures/RCDPhotoProcessing is still correct?

Note: See TracTickets for help on using tickets.