Learn about SITES (Swedish Infrastructure for Ecosystem Science) on our website.
The SITES data services are developed in collaboration with ICOS Carbon Portal, and the open source code can be found on their repository. The data portal hosts our data. It is based on 3 projects:
- meta handles our metadata.
- data processes and provides access to the data.
- cpauth takes care of user authentication.
Authorised users can upload files to the data portal using either:
You can upload files manually with the upload form. This method is ideal for single files.
You can upload files automatically with two HTTP calls. This method is ideal to upload multiple files, scheduled uploads (daily for example), or large files. You first create the metadata by posting a metadata package. You then post the data file to the returned URL.
Before uploading its metadata, you can test if a file complies to a given data type.
Finally, upload scripts can be written to automate this process. Some examples are available, among other things, in the scripts repository.