Home | Uploading | Viewing Data | Search | Making Public | Lists | Sample Attributes | Chemical Analysis Attributes | Image Attributes | To MetPetDB
Uploading Data
- Dowloadable Video Tutorials **NEW**
- Download a .pdf about bulk uploading your data.
There are 3 types of bulk uploads: Sample, Chemical Analysis, and Images. These must be done from a Microsoft Excel spreadsheet (.xls file). Only the first worksheet in a .xls workbook file (first tab at bottom left) will be uploaded, so be certain that the first sheet in the saved .xls file you are uploading contains the data you want uploaded for the correct type of upload.
All uploaded data will initially be private. They may then be made public once they are in MetPetDB. You are encouraged to check your uploaded data before making it public, as once it is public it is viewable and downloadable by other MetPetDB members.
Upload Tactics
MetPetDB recommends preparing a single excel file with a suite of data you would like to upload (the alternative would be an individual file for each of samples, chemical analyses, and images). The single file should have separate worksheets for samples, chemical analyses, and images, labeled as such. In this case, on each step of the upload process described below, you may browse for the same file, uploading a re-saved version of the file with the appropriate worksheet as the first (on top). In microsoft excel, worksheets can be dragged to the top by their tab.
This method allows all data for upload of a suite of samples to MetPetDB to be organized with a single file (apart from the individual image files), e.g. ExampleUploadSheet.xls.
1. Upload your samples
Watch the downloadable Video Tutorial.
First you need to prepare a sample upload worksheet in .xls format (download an example). An upload worksheet contains data arranged in columns, each with an appropriate header. The first row is reserved for the column headers. Each additional row should contain data for each sample to be uploaded. Only some fields are required in order to upload your samples, as indicated here, but we encourage you to be thorough to maintain a database that is as versatile as possible.
- What types of data must/can be included with your samples.
- Lists of set data types:
- Regions
- Rock Types
- Metamorphic Grades
- Minerals
- Non-numeric abbreviations for mineral modes
- Lists of set data types:
- Detailed descriptions of sample attributes.
- Tips on Locating your Samples (finding Latitudes and Longitudes).
- List of accepted headers.
Now you can upload the spreadsheet.
- Save the excel file with your samples worksheet on top (the farthest tab to the left).
- Log in to MetPetDB.
- Click Upload Data (on the page menu bar).
- Select the Samples radio button.
- Choose your spreadsheet by clicking browse.
- Click Upload. This will tell you if there are errors with your data, and how many samples will be added to MetPetDB.
- Check to see which headers were matched to MetPetDB. Check if you have any errors by clicking the errors tab. If you have an error or made a mistake with a header, edit and save your spreadsheet, save it, and re-upload.
- If you have no errors and all of your headers are matched by MetPetDB, you are ready to submit your data to MetPetDB. Click Submit Data.
- Navigate to My Samples to see that your samples have uploaded. Or, alternatively, find your new samples with a search. In this case it will help to input your screen name as the owner to exclude published samples and the samples of others.
2. Upload your chemical analyses
Watch the downloadable Video Tutorial.
First you need to prepare a chemical analyses upload worksheet in .xls format (download an example).
The first row is reserved for the column headers. The second row is reserved for units (chemical analysis and precision). Each additional row should contain data for each analysis to be uploaded. Only some fields are required in order to upload your data, but we encourage you to be thorough to maintain a database that is as versatile as possible.
- Be sure your data follows the requirements for chemical analyses.
- Lists of set data types:
- Subsample Types
- Minerals
- Elements
- Oxides
- Non-numeric abbreviations for measurements
- Lists of set data types:
- Detailed description of chemical analysis attributes.
- List of accepted headers.
- Please note that chemical analyses must be in weight percent or ppm.
Now you can upload your chemical analyses.
- Save the excel file with your chemical analyses worksheet on top (the farthest tab to the left).
- Log in to MetPetDB.
- Click Upload Data (on the page menu bar).
- Select the Chemical Analyses radio button.
- Choose your spreadsheet by clicking browse.
- Click Upload. This will tell you if there are errors with your data, and how many analyses will be added to MetPetDB.
- Check to see which headers were matched to MetPetDB. Check if you have any errors by clicking the errors tab. If you have an error or made a mistake with a header, edit and save your spreadsheet, save it, and re-upload.
- If you have no errors and all of your headers are matched by MetPetDB, you are ready to submit your data to MetPetDB. Click Submit Data.
- Navigate to My Samples to see that your samples have uploaded. Or, alternatively, find your new samples with a search. In this case it will help to input your screen name as the owner to exclude published samples and the samples of others.
3. Upload your images
Watch the downloadable Video Tutorial.
Image upload is performed by compressing a folder containing the images (the image folder) plus a metadata spreadsheet. Images are referenced to a sample number which is required and possibly to a subsample, which is not required. Note: The sample must be uploaded/added first, before images can be uploaded.
Prepare Images
- The same image file may be uploaded to more than one sample (e.g. a map with multiple sample locations).
- Filenames should be cataloged in the accompanying image upload spreadsheet.
- Acceptable image formats are: .jpg , .gif , .tif , and .png.
- The current size limit is 50 megabytes per image.
- Images should be placed in an image folder.
- Images may also be included in subdirectories/subfolders within the image folder. This requires that the image upload spreadsheet contains the path information for the images (e.g. [subfolder name]/image.png). See below for how to prepare the image upload spreadsheet.
Prepare Image Upload Spreadsheet
The image upload spreadsheet must have the image data are on the first worksheet. An upload spreadsheet contains data arranged in columns, each with an appropriate header. The first row is reserved for the column headers. Each additional row should contain data for each image to be uploaded. Only some fields are required in order to upload your images, as indicated below, but we encourage you to be thorough to maintain a database that is as versatile as possible (download an example).
- Be sure your data follows the requirements for images.
- Lists of set data types:
- Detailed descriptions of image attributes.
- List of accepted headers.
Prepare Archive (.zip) File
Download an example archive.zip.
- Save the image upload file with your images worksheet on top (the farthest tab to the left).
- Compress/create the Archive (.zip).
- If you have archiving software, this is commonly done (in windows and in Mac OSX) by selecting/highlighting the files to be archived, right-clicking on one of them, and choosing "create archive of...".
- If the image upload spreadsheet is the only excel spreadsheet in the archive (.zip) file, it can have any name.
- If another .xls spreadsheet is included in the .zip archive (for any reason), the image upload spreadsheet must have the name image_upload.xls.
- If the image upload spreadsheet is within the image folder, the path of the images need not contain the image folder; however, if it was compressed external to the image folder, the images must have [image folder name]/ as the beginning of their path (the image file location is referenced to the image spreadsheet location).
Note that the Image Upload Spreadsheet must be in the archive (.zip).
Upload Archive (.zip)
- Log in to MetPetDB.
- Click Upload Data (on the page menu bar).
- Select the Images radio button.
- Choose your image archive (.zip) by clicking browse.
- Click Upload. This will tell you if there are errors with your data, and how many analyses will be added to MetPetDB.
- Check to see which headers were matched to MetPetDB. Check if you have any errors by clicking the errors tab. If you have an error or made a mistake with a header, edit and save your spreadsheet, save it, and re-upload.
- If you have no errors and all of your headers are matched by MetPetDB, you are ready to submit your data to MetPetDB. Click Submit Data.
- Navigate to My Samples to see that your samples have uploaded. Or, alternatively, find your new samples with a search. In this case it will help to input your screen name as the owner to exclude published samples and the samples of others.
Example Spreadsheets
Below are some example files that are ready to be uploaded to MetPetDB. If you already have these sample numbers in My samples, you must delete them to test the upload interface.
Home | Uploading | Viewing Data | Search | Making Public | Lists | Sample Attributes | Chemical Analysis Attributes | Image Attributes | To MetPetDB
Attachments
- ExampleUploadSheet.xls (39.0 kB) - added by halleb3@LAB.CS.RPI.EDU on 06/12/09 17:57:06.
- ArchiveExample.zip (2.5 MB) - added by halleb3@LAB.CS.RPI.EDU on 06/12/09 18:01:04.
- Upload_Instructions2.2.pdf (256.2 kB) - added by halleb3@LAB.CS.RPI.EDU on 07/01/09 13:58:21.
