Changes between Version 4 and Version 5 of Processing/proj_tidy


Ignore:
Timestamp:
Oct 9, 2014, 12:47:23 PM (9 years ago)
Author:
knpa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/proj_tidy

    v4 v5  
    66
    77It also serves as our "unpacking script", it prints a list of commands that you should use to convert it from the format we get it from ARSF-OPS to our desired standard.
     8
     9[wiki:Processing/FilenameConventions proj_tidy should be in harmony with the project structure page][[BR]]
     10If they disagree, go on what the majority of flights have done for that year.
    811
    912== Location ==
     
    1518~arsf/usr/bin/proj_tidy/
    1619
    17 
    1820== Basic guide to functions ==
    1921
     
    2426Also present in the module directory, are regex/templates. These are designed to hold filename/folder structure information for each year. This is because we use proj_tidy to archive flights in previous years. We want to make sure these are standard for a given year but we don't care if they change in-between years (which things do). We therefore need a record of past conventions. The regex files are used by proj_tidy, the templates are the same thing but in a form where things like flightDay can be readily inserted to build correct paths/names. I think this was so proj_tidy can give suggested changes so you can copy and paste without having to correct it manually, but this has not yet been implemented. For pre-2011 an older version of proj_tidy is ran (proj_tidy_old.sh), this is because the project structure/filename conventions were originally hardcoded into the script. When we changed to APL in 2011, I decided to rewrite proj_tidy in the new, flexible year format, and kept the old one around for 2010 stuff. If you run the regular proj_tidy on something pre-2011, it will call proj_tidy_old instead.
    2527
     28
    2629== Improvements/fixes ==
    2730
     31* SERIOUS BUG - although it's set up to check pre-2011 delivies (as outlined above), it currently can't do this if that flight has been converted to the layout. Since ALL flights have now been converted to the new layout, this needs fixing before we can archive older flights. (dap, ask someone what about the change in 2011, reprocessing, and conversion of structures).
    2832* Currently it determines if raw data for a sensor exists by looking if there is e.g. hyperspectral/fenix/ dir. This should be changed so it actually looks for data files e.g. FENIX*.raw
     33* Check if we have .hdr file and a .log file for every .raw file, and do something similar for other sensors. So basically check, if we do have a sensor as determined above, that all expected files are present
     34* Check the database to get number of lines for a sensor, and check there are indeed this number
     35* If can't find raw data, don't search for files pertaining to those sensors
     36* Check that the bandset in the hyperspectral header files is what we expect
     37* Some updates are needed to the regex files so it recognises some newer files.
    2938
    3039
    3140
     41
     42
     43
     44