anchor.diff:      </table>
   </div>
   
  +<div id="netcdfgenerator">
  +    <h2>NetCDF Repository Scheduler</h2>
  +
  +    <table>
  +        <tr>
  +            <td>
  +                <form id="build.netcdfs"
  +                      name="build.netcdfs"
  +                      action="donetcdf.web"
  +                      method="post"
  +                      enctype="application/x-www-form-urlencoded">
  +                    <input type="hidden" name="type" value="experiment"/>
  +                    <input type="hidden" name="accession" value="ALL"/>
  +                    <input type="button" value="regenerate all NetCDFs" onclick="this.form.submit();"/>
  +                </form>
  +            </td>
  +        </tr>
  +    </table>
  +</div>
  +
   <div id="recompute">
       <h2>Existing Experiments</h2>
   
  
positive.code: <%@ page import="org.json.JSONArray" %>
  <%@ page import="uk.ac.ebi.gxa.web.Atlas" %>
  <%@ page import="uk.ac.ebi.microarray.atlas.model.Experiment" %>
  <%@ page import="java.util.List" %>
  <%@ page import="uk.ac.ebi.gxa.dao.AtlasDAO" %>
  <%--
    Admin page for the atlas.  Use this page to load new experiments or to build indexes or netcdfs, or to perform
    analyses, of experiments in the database.
  
negative.code: 
      // use DAO to fetch list of experiments
      List<Experiment> experiments = atlasDAO.getAllExperiments();
  
      // sort this list based on alphabetic comparison of accessions
      Collections.sort(experiments, new Comparator<Experiment>() {
  
          public int compare(Experiment experiment1, Experiment experiment2) {
              return experiment1.getAccession().compareTo(experiment2.getAccession());
          }
      });
  
      JSONArray json = new JSONArray();
  %>
  <html>
  