Skip to content

Commit

Permalink
Adding data products from the DES+KiDS joint cosmic shear analysis (#64)
Browse files Browse the repository at this point in the history
* des-y3a2.html:

Added DES+KiDS
Updated Release Notes
Added item 13 in the list of products
Added arxiv link to paper

* des-y3a2.html:

Corrected pre-existing numbering error
in list of released data products

* des-y3a2/des-y3a2-key-joint-des-kids.html:

New webpage for the DES+KiDS release
can't see it though :(

* des_components/des-public-main.html:

Followed other entries to add in new DES+KiDS page

* static/des_components/elements.html:

Followed other entries to add in DES+KiDS page

* static/des_components/des-y3a2/des-y3a2.html:

Tests with linking

* Replace some problem-causing hyphens with underscores

* restore accidentally removed file

---------

Co-authored-by: Joe Zuntz <[email protected]>
  • Loading branch information
cheymans and joezuntz authored Sep 7, 2023
1 parent e126534 commit 8f250f3
Show file tree
Hide file tree
Showing 5 changed files with 499 additions and 6 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ Workflow for contributing content updates
```shell
docker build -t desdm-public:dev .
```

or on MacOS:
```shell
docker build --platform linux/x86_64 -t desdm-public:dev .
```

4. Configure the webserver to run in "dev" mode.
```shell
docker run --rm --name desdm-public \
Expand All @@ -30,6 +36,9 @@ Workflow for contributing content updates
desdm-public:dev \
python3 vulcan.py --dev
```

again adding the flag ``--platform linux/x86_64`` on MacOS

5. Run the webserver to serve the webpage.
```shell
docker run --rm --name desdm-public \
Expand All @@ -41,6 +50,9 @@ Workflow for contributing content updates
desdm-public:dev \
python3 main.py
```

Once again adding the flag ``--platform linux/x86_64`` on MacOS

6. Open your browser to http://127.0.0.1:8080 to view the website.
7. Ensure that the ServiceWorker is not registered. Open your web browser's web development tools. In Firefox, use CTRL+SHIFT+I and go to the Application tab. Disable/remove any ServiceWorker you see listed.
8. Edit and save the relevant HTML files. Reload the page and see the results. Repeat this step until satisfied.
Expand Down
6 changes: 6 additions & 0 deletions static/des_components/des-public-main.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,11 @@
<a class="app-menu-item" id="needindent" name="gal-morphology" href="[[rootPath]]releases/y3a2/gal-morphology">Galaxy Morphology</a>
</div>
</app-submenu>

<app-submenu no-auto-close>
<div class="app-menu-item" slot="submenu-trigger">
<a class="app-menu-item" id="needindent" name="Y3key-joint-des-kids" href="[[rootPath]]releases/y3a2/Y3key-joint-des-kids">DES Y3 + KiDS-1000</a>
</div>

<!--app-submenu no-auto-close>
<div class="app-menu-item" slot="submenu-trigger">
Expand Down Expand Up @@ -678,6 +683,7 @@
<des-y3a2-massmaps name="Y3massmaps"></des-y3a2-massmaps >
<des-y3a2-morphology name="gal-morphology"></des-y3a2-morphology>
<des-y3a2-mard name="Y3mard"></des-y3a2-mard>
<des-y3a2-key-joint-des-kids name="Y3key-joint-des-kids"></des-y3a2-key-joint-des-kids >


<!-- DR1 PAGES -->
Expand Down
Loading

0 comments on commit 8f250f3

Please sign in to comment.