Some users may have access to tools other than those provided in Archivematica that they wish to use for normalization actions.
There are two manual normalization workflow options. First, the user can do some normalization before bringing any objects into Archivematica. Second, the user can process objects through to Ingest and then choose to do manual normalization on some of the objects. Below are the workflow steps to test each of these options.
In either option, it is also possible to add PREMIS event detail metadata about the manual normalization event. See below for details.
Option 1: Manual normalization prior to transfer to Archivematica¶
The manual normalization feature allows the user to prepare transfers that already contain manually normalized files. The user adds a /manualNormalization folder and its subdirectories to the transfer prior to processing. Archivematica recognizes that this folder already exists and will not add one during processing. This workflow requires that there must be a one-to-one relationship between the transfer and the SIP.
1. First, create your transfers with a structure that mimics the one in this sample. Name the /topDirectory whatever you want (you can still change this when you upload the transfer to the dashboard) and place the original files in it. /manualNormalization contains two directories, /access and /preservation which include in them the files you’ve already normalized for access and/or preservation prior to transfer. In the sample shown here, file1.tga has a manually normalized preservation version (file1.tif) and a manually normalized access version (file1.jpg). Note that the filenames, in this instance “file1”, MUST match in order for Archivematica to recognize the links between the original .tga file and the manually normalized preservation and access versions.
/topDirectory /manualNormalization /access file1.jpg /preservation file1.tif file1.tga file2.doc file3.docx
2. Upload the transfer to the dashboard from your source directories in the Transfer Tab.For instructions detailing how to set up source directories, see the Administrator’s manual here: Administrator manual - Transfer source location.
4. In the Ingest tab, at the normalization micro-service, choose whether to normalize for access, preservation, or both. If you choose to review normalization results prior to accepting, you will find your /manualNormalization folder and its contents in the objects directory of your transfer, with it’s /access and/or /preservation folders and their content intact. If you’re happy with the results here, approve normalization.
5. Continue processing according to instructions in the User manual. Stop when you reach the Store AIP micro-service.
6. At Store AIP, you have the option to review your AIP. If you download the AIP from the review tab by simply clicking on the file with the 7z extension, you can download, unzip and view your AIP in your file browser. Your AIP will consist of a top level folder with the name you assigned plus a UUID. In that folder, you’ll find a /data folder which contains your objects for preservation, logs, thumbnails and the METS xml. That data folder will contain your originals and normalized files, and the METS will include PREMIS events with “manual normalization” noted in the eventDetail of the appropriate normalization events. A discussion of the overall AIP structure can be found here: AIP structure. Additionally, you might note that the manualNormalization folder and subfolders used during the manual normalization workflow have been deleted once normalization was approved rather than being packaged into the AIP.
7. If you are satisfied with everything here, continue to store your AIP and/or upload your DIP as per usual.
Option 2: Manual normalization during Ingest¶
The manual normalization feature allows users to choose to do manual normalization at the normalization micro-service in the Ingest tab of the dashboard. The user does not have to manually normalize all of the objects for preservation and/or access; any files not manually normalized will be normalized according the regular Archivematica workflow.
1. Start with any regular transfer in the Transfer tab of the dashboard. Follow the instructions in the user manual until you get to the normalization micro-service in the Ingest tab.
- Select “Normalize manually” from the dropdown menu.
3. In your file browser, open /archivematica/src/MCPServer/sharedDirectoryStru cture/watchedDirectories/approveNormalization/preservation/yourTransfer123abc/ objects/
- Choose which files you’d like to normalize for preservation and/or access.
- Do your local normalization.
6. Once you’ve done all the normalization for preservation and access, place your preservation copies in the /manualNormalization/preservation folder and your access copies in the /manualNormalization/access folder. Note that any objects you haven’t normalized manually will be normalized using the regular Archivematica workflow. However, if you do not include anything in the /access folder, no DIP will be generated.
- Return to the dashboard and approve normalization.
8. Continue processing according to instructions in the User manual. Stop when you reach the Store AIP micro-service.
9. At the Store AIP micro-service, you have the option to review your AIP. If you download the AIP from the review tab by simply clicking on the file with the 7z extension, you can download, unzip and view your AIP in your file browser. Your AIP will consist of a top level folder with the name you assigned plus a UUID. In that folder, you’ll find a /data folder which contains your objects for preservation, logs, thumbnails and the METS xml. That data folder will contain your originals and normalized files, and the METS will include PREMIS events with “manual normalization” noted in the eventDetail of the appropriate normalization events. A discussion of the overall AIP structure can be found here: AIP structure. Additionally, you might note that the manualNormalization folder and subfolders used during the manual normalization workflow have been deleted once normalization was approved rather than being packaged into the AIP.
10. If you are satisfied with everything here, continue to store your AIP and/or upload your DIP as per the User manual instructions.
Adding PREMIS eventDetail for manual normalization¶
If you think you will need to use this aspect of the feature, please note that Archivematica does not offer the option to add PREMIS eventDetail by default. Instead, you must use the preconfigured choices in the processing configuration section of the Administrative tab of the dashboard to adjust your settings prior to ingest. Deselect the Reminder in the Processing Configuration settings.
If you include manually normalized files in the initial transfer (option 1) or during processing (option 2), the procedure for adding PREMIS eventDetail is the same.
1. Approve normalization. For Option 2, this will be after selecting “Normalize manually” at the normalization step and adding the files to the SIP.
- Archivematica will stop and remind you to add the metadata.
- Click on the metadata icon.
- Select “Manual normalization event detail” under metadata.
5. Add event detail. This can be technical tool output, like: program=ImageMagick; version=22.214.171.124; command=%convertPath% %fileFullName% +compress %preservationFileDirectory%%fileTitle%.%preservationFormat% -OR- something more narrative like in the example below.
- Save the metadata and click on the ingest tab to continue processing.
- Select Continue from the metadata reminder dropdown box.
Normalizing files with the same name¶
The manual normalization workflow outlined above assumes that there are no conflicts between filenames. For example, if the original filenames are file1.doc and file2.xls, there is no conflict. But if you are manually normalizing both file1.doc and file1.xls, even if the extensions of the normalized files are different, you will need to provide a CSV file to document the relationships between the original and normalized files.
The structure of normalization.csv, which is saved in the manualNormalization directory, is three columns: original file, file normalized for access, file normalized for preservation. All the files with duplicate names need to be listed, even if they are not manually normalized.
The normalization.csv is case-sensitive, meaning that the contents must match the file names exactly as to their capitalization.
You need to specify the path in the csv file, including any subdirectories, such as in the example below.
In the example above, there are manually normalized files for both preservation and access, however it is possible to have manually normalized files for only access or preservation by leaving the appropriate column blank.
Other scenarios are also possible:
Original file not in a subdirectory, normalized copies are:
Only some normalized copies in a subdirectory:
Subdirectories used only to distinguish file names:
If the file names contain spaces or forbidden characters, Archivematica will sanitize the file names by replacing the spaces/characters with underscores. The normalization.csv file will still work by using either the original, unsanitized file names, or by pre-sanitizing the normalized filenames and the corresponding columns in normalization.csv (see: Issue 6870).