Created
February 12, 2014 20:49
-
-
Save joefutrelle/8964195 to your computer and use it in GitHub Desktop.
resolver config for sb imgs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resolvers> | |
<resolver name="pid"> | |
<var name="root">/mnt/svalbard/dives</var> | |
<match var="pid" pattern="((([A-Z]+)\.)?((\d{6})\d\d)\.(\d+)\.(\d+))(\.(\w+))?" | |
groups="lid _ pfx ymd ym ts1 ts2 _ ext"> | |
<!-- high-priority cruises --> | |
<match var="ym" value="200303"> | |
<path var="dir" match="${root}/200303_OC387/processed/color_corrected/*"> | |
<path match="${dir}/${lid}.jpeg"/> | |
</path> | |
</match> | |
<match var="ym" value="200407"> | |
<path var="dir" match="${root}/200407_CH0804/Images_cc/*/ColorCorrected"> | |
<path match="${dir}/${lid}.jpg"/> | |
</path> | |
</match> | |
<match var="ym" value="200504"> | |
<path match="${root}/200504_KayKay/Images/i20050417/${lid}.tif"/> | |
</match> | |
<match var="ym" value="200804"> | |
<path var="dir" match="${root}/200804_PR/at_sea/processed/images/i200804*-corrected-chrismurf"> | |
<var name="df"> | |
<value>down</value> | |
<value>front</value> | |
</var> | |
<path match="${dir}/${df}/${lid}.jpg"/> | |
</path> | |
</match> | |
</match> | |
</resolver> | |
</resolvers> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment