Project

General

Profile

Task #3077

Updated by Ben Leinfelder over 11 years ago

Currently, Morpho uses something like 100.1 as data/metadata file name.

Since the file name in the disk will be different to the package identifier, it only needs to be locally unique and we can still use the sequence number as local file name. But since we may allow users to copy external data file into the data file directory (we will make this directory transparent to users) in the future, using the sequence number as file name is problematic.

Since we can't use the identifier or some meaningful name as the file name, I propose to name a file base on the time stamp:

yyyy-mm-dd-hh-mm-ss-suffix.file-extention

suffix is a 2 digits random number.

file-extention:
metadata file -- .meta
data file -- .data
ORE file -- .ore
sysmeta file -- .sysmeta

In dataone api, every very data/metadata file should have associated system metadata. be associate a sysmeta. Those two files should have same some prefix, but have different extension.
Fox example, 2012-07-16-16-20-15-01.sysmeta contains the system metadata describing the data file 2012-07-16-16-20-15-01.data

Back

Add picture from clipboard (Maximum size: 14.8 MB)