From e0062452a24a1bb8275ad6e237dd0752ecb21890 Mon Sep 17 00:00:00 2001 From: Aritra Ghosh Date: Thu, 8 Aug 2024 17:12:21 -0700 Subject: [PATCH 1/3] Reordering position of warnings --- docs/source/Public_data.md | 39 +++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/docs/source/Public_data.md b/docs/source/Public_data.md index 6b13902d24..1a0147d6ea 100644 --- a/docs/source/Public_data.md +++ b/docs/source/Public_data.md @@ -27,10 +27,19 @@ especially Section 6. ::: ### Connecting to the Data Release Server -All components of this public data release are hosted on the Yale Astronomy FTP server ``ftp.astro.yale.edu``. There are multiple ways you can access the FTP server, and we summarize some of the methods below. +There are two servers on which the public data is hosted:- +* UW Astro HTTP Server: [https://epyc.astro.washington.edu/~aritrag/](https://epyc.astro.washington.edu/~aritrag/) +* Yale Astro FTP Server: ``ftp.astro.yale.edu`` +Most of the data release is available on both servers. Simply choose the one that is more convenient for you to use! -#### Using Unix Command Line +#### Connecting to the UW HTTP Server +Simply navigate to [https://epyc.astro.washington.edu/~aritrag/](https://epyc.astro.washington.edu/~aritrag/) on any browser + +#### Connecting to the Yale FTP Server +There are multiple ways you can access the FTP server, and we summarize some of the methods below: + +##### Using Unix Command Line First, using a Unix terminal, navigate to the location where you want to download the files. Thereafter, connect to the FTP server using the following command @@ -52,7 +61,7 @@ To terminate the FTP connection, simply type `quit`. Mac terminals don't come pre-installed with the `ftp` command. But, if you use [Homebrew](https://brew.sh/), you can install FTP using `brew install inetutils` ::: -#### Using a Browser +##### Using a Browser On a browser, navigate to ``ftp://ftp.astro.yale.edu/pub/hsc_morph/`` @@ -62,7 +71,7 @@ Now, download the relevant files by navigating to the relevant subdirectory (see If you are using Google Chrome, make sure that you are not selecting the default Google Search option from the suggested links in the dropdown ::: -#### Using Finder on MacOS +##### Using Finder on MacOS Open Finder, and then choose Go → Connect to Server (or command + K) and enter ``ftp://ftp.astro.yale.edu/pub/hsc_morph/``. Choose to connect as ``Guest`` when prompted. @@ -127,6 +136,10 @@ that you use the mode along with the one-sigma confidence interval as the uncert #### Posterior Distribution Files for Individual Galaxies +:::{tip} +If you need access to the posterior distributions for all the galaxies, take a look [here](#tarball-of-posterior-distribution-files) +instead. +::: The predicted posterior distributions for individual galaxies are available as Numpy (``.npy``) files. The files are named as ``zz.npy`` where zz is the ``object_id`` mentioned in the prediction tables. The files are located at the following subdirectories on the FTP server: @@ -150,16 +163,24 @@ The array dimensions are ordered identically in all files and are listed below : * 7 → y of magnitude :::{warning} +Individual posterior distribution files are only available on the Yale FTP Server. There are millions of files in each `posterior_arrays` folder. If you issue an `ls` (or any other similar) command, you might end up terminating your connection to the server. Simply use `get` followed by the appropriate filename. ::: -:::{tip} -If you want to access posterior distributions for almost the entire sample, please use [this link](https://epyc.astro.washington.edu/~aritrag/). The link will lead you to `.tar.gz` files corresponding to each -redshift bin. Each tarball contains the predicted posterior distributions (`.npy` files) for all galaxies -in that redshift bin. -::: +#### Tarball of Posterior Distribution Files +If you want to access posterior distributions for almost the entire sample, tarballs are available on the UW server. +When you unzip each tarball, you get files with the same array structure as outlined [here](#posterior-distribution-files-for-individual-galaxies) +* g-band HSC-Wide z < 0.25 galaxies → ``/pub/hsc_morph_posteriors/pred_pdfs_g_0_025.tar.gz`` + +* r-band HSC-Wide 0.25 < z < 0.50 galaxies → ``/pub/hsc_morph_posteriors/pred_pdfs_r_025_050.tar.gz`` + +* i-band HSC-Wide 0.50 < z < 0.75 galaxies → ``/pub/hsc_morph_posteriors/pred_pdfs_i_050_075.tar.gz`` + +:::{warning} +Tarballs of the posterior distribution files are only available on the UW Server. +::: #### Trained GaMPEN Models From ff3fdac97c49743e304ae3ed7c33ea9eb2659dd6 Mon Sep 17 00:00:00 2001 From: Aritra Ghosh Date: Thu, 8 Aug 2024 17:24:00 -0700 Subject: [PATCH 2/3] Reordering warnings --- docs/source/Public_data.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/Public_data.md b/docs/source/Public_data.md index 1a0147d6ea..64c86fac5b 100644 --- a/docs/source/Public_data.md +++ b/docs/source/Public_data.md @@ -136,11 +136,6 @@ that you use the mode along with the one-sigma confidence interval as the uncert #### Posterior Distribution Files for Individual Galaxies -:::{tip} -If you need access to the posterior distributions for all the galaxies, take a look [here](#tarball-of-posterior-distribution-files) -instead. -::: - The predicted posterior distributions for individual galaxies are available as Numpy (``.npy``) files. The files are named as ``zz.npy`` where zz is the ``object_id`` mentioned in the prediction tables. The files are located at the following subdirectories on the FTP server: * g-band HSC-Wide z < 0.25 galaxies → ``/pub/hsc_morph/g_0_025/posterior_arrays/`` @@ -162,6 +157,11 @@ The array dimensions are ordered identically in all files and are listed below : * 3 → x of magnitude * 7 → y of magnitude +:::{tip} +If you need access to the posterior distributions for all the galaxies, take a look [here](#tarball-of-posterior-distribution-files) +instead. +::: + :::{warning} Individual posterior distribution files are only available on the Yale FTP Server. There are millions of files in each `posterior_arrays` folder. If you issue an `ls` (or any other similar) command, From 5e8653e2145b920506ea46ad9c38b3d59634cf0d Mon Sep 17 00:00:00 2001 From: Aritra Ghosh Date: Thu, 8 Aug 2024 17:24:25 -0700 Subject: [PATCH 3/3] Activating header links to depth 5 --- docs/source/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 7d8259f2e6..61ae9b2402 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -44,8 +44,8 @@ "colon_fence", ] -myst_heading_anchors = 3 #tells the myst_parser to add anchors to all headings - #of level 3 and above +myst_heading_anchors = 5 #tells the myst_parser to add anchors to all headings + #of level 5 and above copybutton_exclude = '.linenos, .gp' #exclude line numbers and the prompt from the copied code