Bug #2021
closedMorpho Plugin - Basic Dataset Upload and Merging
0%
Description
Morpho Plugin for Field Data-Collection Admin:
2) dataset merging and Upload
a) basic requirement:
incoming datasets would all be put inside a subfolder that resides in the same
root directory, within the user's morpho profile - eg
~/.morpho/[...]/jalama_incoming/Intertidal_12Jan05/
~/.morpho/[...]/jalama_incoming/Intertidal_28Jan05/
~/.morpho/[...]/jalama_incoming/Intertidal_31Jan05/
...where "Intertidal" represents the form title or table name etc - this is
consistent across all tablets used by different people for any given group of
measurements.
Plugin would allow user to pick one or more of these directories, and all
those dirs' contents would be sent to the fragment aggregator for merging. Note
that multiple selection is needed because collection might take place over
multiple days for a single dataset.
Resulting merged dataset would then be copied to user's main morpho profile
directory, so it can be browsed and manipulated in morpho, and can be uploaded
to metacat if required
Related issues
Updated by Matthew Brooke over 19 years ago
============================================================
EXAMPLE:
i) show directories containing forms that have been uploaded, listed by table
or form name:
intertidal_DatasetID
tidal_DatasetID
forest_DatasetID
user then picks one of these groups
ii) for picked one - show directories containing data collected from (say) 4
different tablets on 3 different days -
user selects which ones (directories) contain the data to be merged
iii) do merge
...so hierarchy might actually look like this:
~/.morpho/[...]/jalama_incoming/Intertidal_brooke.5.1/12Jan05/
~/.morpho/[...]/jalama_incoming/Intertidal_brooke.5.1/28Jan05/
~/.morpho/[...]/jalama_incoming/Intertidal_brooke.5.1/31Jan05/
~/.morpho/[...]/jalama_incoming/Tidal_brooke.3.2/11Feb05/
~/.morpho/[...]/jalama_incoming/Tidal_brooke.3.2/26Feb05/
~/.morpho/[...]/jalama_incoming/Forest_brooke.8.7/28Jan05/
============================================================
AFTER MERGE:
after merge, move datasets from jalama_incoming to jalama_processed. Ask if they
want to keep original forms or delete them
Updated by Matthew Brooke over 19 years ago
conf call 18 March 2005:
when synchronizing data from tablet, put it in a subdir of ~/.jalama directory
(like: ~/.jalama/[...]/jalama_incoming/...)
instead of in ~/.morpho (like: ~/.morpho/[...]/jalama_incoming/...), as
previously mentioned.
This keeps all jalama-plugin files separate from morpho files, and dispenses
with the problem of the synch code needing to know which profile is currently
running, and therefore where to put the data.
After merge ("import"), dataset would be displayed in morpho, and then when the
user saves it, it will be put into the correct profile dir by morpho's existing
code - no brainer
~/.morpho/[...]/jalama_incoming/In
Updated by Matthew Brooke over 19 years ago
basic call to merger done - only thing left to do is split data out and make it
online instead of inline, then get morpho to recognize this and open it in
spreadsheet view
Updated by Matthew Brooke over 19 years ago
Finished first version of morpho plugin.