iiasa / COACCH

Source content and generation scripting for COACCH Data Repository site. Indexes COACCH project data hosted on Zenodo.
GNU General Public License v3.0
1 stars 0 forks source link

Expanding meta data elements in the description #4

Closed EstherBoere closed 2 years ago

EstherBoere commented 3 years ago

Could we expand the meta data elements in the sub pages (so not in the main page) with the following elements that should be directly harvestable from the meta data:

acjbrouwer commented 3 years ago

Manual harvesting should be possible. Automating it is worth a try but might turn out to be too little gain for too much pain given that the COACCH specific metadata is not very strictly standardized and accessible through an API.

acjbrouwer commented 3 years ago

I have trialed and coded up extraction of the COACCH metadata and ReST generation with it as per your request. See the Jupyter notebooks in the src directory.

The site has been regenerated therewith. The layout is templated and can easily be changed if needed.

Note that for some datasets, the COACCH metadata is either not available or has a wrong format. For these cases, the page of the dataset will simply omit it.

EstherBoere commented 3 years ago

Dear albert,

Thanks a lot for this. Right now, on the sub-page, for example 'Climate Impact Assessment', the meta-data belonging to the headers is not made visible, just the headers. Is it possible to make the meta data visible directly in the sub-page?

acjbrouwer commented 3 years ago

The sub-page for Climate Impact Assessments exists for the class and as such holds a formatted table of content (ToC, a listing of headers) linking into the per-data-set pages. Clicking on of the ToC links opens a per-data-set subpage which holds the metadata. It would be weird to bring anything other than the data set title metadata up to the class ToC page level.

Down to which depth of headers shows up in the class ToC listing can I think be adjusted, and the number of headers on a per-data-set page too (by changing the template). So if you are unhappy with the ToC content of the class pages, we can make some amendments regarding which data set page headers are shown.

Just the titles is maybe the simplest and least confusing. Shall we do that?

acjbrouwer commented 3 years ago

I've made a commit that decreases the ToC depth and as such shows just the data set titles on the class ToC pages. Indeed less confusing that way. Have a look. You may need to re-load to refresh your browser cache to see the new ToC layout.

EstherBoere commented 3 years ago

Yes thanks, I think that looks better indeed. There's maybe a bit of clicking to do, but I suppose this is a preference as to how much text one wants to have on a page.

EstherBoere commented 2 years ago

I think this ticket can be closed