Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 1.98 KB

datarchives.md

File metadata and controls

61 lines (48 loc) · 1.98 KB
layout
default

Data Archives Collection

In the table below...

  • Clicking a size link downloads the data in the indicated format.
  • Clicking a title or image link gives more info about the download.

{% assign darch_coll = 0 %} {% for darch in site.collections %} {% if darch.label == "datarchives" %} {% assign darch_coll = darch %} {% break %} {% endif %} {% endfor %}

{% assign ncols = darch_coll.formats | size | minus: 1 %}

{% for i in (0..ncols) %} {% endfor %}

{% for pres in site.datarchives %}

{% assign len = pres.relative_path | size %} {% assign len2 = len | minus: 3 %} {% assign new_relative_path = pres.relative_path | truncate: len2, "" | remove_first: "_" %}

{% if pres.has_image %} {% else %} {% endif %}

{% for i in (0..ncols) %}

{% assign nksize = pres.nbytes[i] | divided_by: 1000 %}
{% assign nMsize = pres.nbytes[i] | divided_by: 1000000 %}
{% if nksize < 1000 %}
    {% assign nsize = nksize | append: "KB" %}
{% else %}
    {% assign nsize = nMsize | append: "MB" %}
{% endif %}

<td style="text-align: right"><a href="{{ site.rawdata_baseurl }}/bindata/{{ pres.stem }}{{darch_coll.formats[i]}}?raw=true" title="Click to download {{darch_coll.formats[i]}} file now">{{ nsize }}</a></td>
{% endfor %}

</tr>

{% endfor %}

Data archives available here
Title Thumbnail{{darch_coll.formats[i]}}
{{ pres.title }}None