Rothamsted-Ecoinformatics / eRA

e-RA website code
3 stars 0 forks source link

# new eRA web site The new web site is designed in PHP, with Bootstrap 4 for styling. It is mainly database driven.

Principles

The information on the web site can be related to

Structure of the web folders

an LTE can have more than one dataset. So in the metadata folder we can organise things:

Naming metadata folders

farm / site folders:

foldername for farm or site is the common name for the site (rothamsted, woburn..)

experiment folders

Folder Name for an experiment is the experiment code, stripped of all / and dates. so broadbalk is rbk1

dataset folders:

Folder Name for a dataset is the DATASETNAME: short, unique, all caps: imagine that it could go in the database eventually.

See remark above regarding the struture: farm>experiment>dataset: under that paradigm, it makes sense to place dataset folders in experiment folders. We have some cases when experiments are on multiple sites or we want to write descriptions related to more than one experiment: like the rotation experiments: rrn including rrn1 and rrn2. ? we need to discuss that.

Where are the data files

Put the data files, and file with supporting information in the 'dataset' folder, which is in the experiment folder.

Filename for the landing page in the old interface, is index.php Filename for the Datafile is DATASET-data-v1.xls or DATASET-data-v1.csv supporting information is: DATASET-sup-v1.xls any file that is relevant to the dataset only should reside in the DATASET folder. Any file that is relevant to more than one dataset in the same experiment can go in the experiment folder and not a dataset folder.

If a file is for more than one experiment, may be it should be at the root of metadata. Such file would be relevant to the whole farm or organisation. We need to think about that case scenario.

What is the URL of the landing page for a dataset?

if the file location and name for the dataset is for example metadata/met/RMMR5318/index.php then the URL will eventually be www.era.rothamsted.ac.uk/met/RMMR5318 and the DOI will be: [https://doi.org/10.23637/RMMRAIN5318 (https://doi.org/10.23637/RMMRAIN5318)

How to link to a dataset landing page?

In the main experiment page, there is a list of links to datasets available, add the new ones there with either the link being the DOI link or the URL link. In the new site, we buid an array with all the datasets. This URL should not change with the new version of eRA.

Written with StackEdit.