Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clim-recal and dyme-chh typos as of oct 2024 #40

Merged
merged 4 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions src/components/BlogCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ interface Props {
blogPost: CollectionEntry<"blogs">;
}
const { blogPost } = Astro.props;

const dateFormatOptions: object = {
year: "numeric",
month: "long",
day: "numeric",
timeZone: "UTC",
};

let formattedPublishDate = new Date(
blogPost.data.publish_date,
).toLocaleDateString("en-GB", dateFormatOptions);
---

<div
Expand Down Expand Up @@ -33,9 +44,7 @@ const { blogPost } = Astro.props;
</div>
<div class="w-full md:w-3/5 h-full flex items-center bg-gray-100 rounded-lg">
<div class="p-12 md:pr-24 md:pl-16 md:py-12">
<span class="text-gray-400"
>{new Intl.DateTimeFormat().format(blogPost.data.publish_date)}</span
>
<span class="text-gray-400">{formattedPublishDate}</span>
<p class="text-gray-600">{blogPost.data.summary}</p>
<a
class="flex items-baseline mt-3 text-indigo-600 hover:text-indigo-900 focus:text-indigo-900"
Expand Down
7 changes: 5 additions & 2 deletions src/content/project/clim_recal.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ team:
- bowen_zhang
---

Regional climate models (RCMs) contain systematic errors, or biases in their output [1]. Biases arise in RCMs for a number of reasons, such as the assumptions in the general circulation models (GCMs), and in the downscaling process from GCM to RCM [1,2].
Regional climate models (RCMs) contain systematic errors, or biases in their output [^1]. Biases arise in RCMs for a number of reasons, such as the assumptions in the general circulation models (GCMs), and in the downscaling process from GCM to RCM.

Researchers, policy-makers and other stakeholders wishing to use publicly available RCMs need to consider a range of "bias correction” methods (sometimes referred to as "bias adjustment" or "recalibration"). Bias correction methods offer a means of adjusting the outputs of RCM in a manner that might better reflect future climate change signals whilst preserving the natural and internal variability of climate [2].
Researchers, policy-makers and other stakeholders wishing to use publicly available RCMs need to consider a range of "bias correction” methods (sometimes referred to as "bias adjustment" or "recalibration"). Bias correction methods offer a means of adjusting the outputs of RCM in a manner that might better reflect future climate change signals whilst preserving the natural and internal variability of climate [^2].

The aim of **clim-recal** is therefore to:

Expand All @@ -36,3 +36,6 @@ The aim of **clim-recal** is therefore to:
- To create accessible information on bias adjustment methods for non quantitative researchers and lay-audience stakeholders

We are working in partnership with the MetOffice to ensure the propriety, quality, and usability of our work. We're focusing on the UKCP18 suite of products, with the first dataset of focus their ground-breaking local-scale (2.2km) [Convection Permitting Model (CPM)](https://www.metoffice.gov.uk/pub/data/weather/uk/ukcp18/science-reports/UKCP-Convection-permitting-model-projections-report.pdf).

[^1]: Senatore et al., 2022, <https://doi.org/10.1016/j.ejrh.2022.101120>
[^2]: Ayar et al., 2021, <https://doi.org/10.1038/s41598-021-82715-1>
11 changes: 7 additions & 4 deletions src/content/project/dyme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ image:
url: "https://www.turing.ac.uk/sites/default/files/styles/hero/public/2021-12/marek-piwnicki-2kqxgrgunzq-unsplash.jpg?itok=FXDUcYO4"
alt: "Image of hills with trees and the glow of a fire behind them"
tags: ["modelling", "climate"]
github: "https://www.turing.ac.uk/research/research-projects/impacts-climate-change-and-heat-health"
github: "https://github.com/alan-turing-institute/dymechh"
link: "https://www.turing.ac.uk/research/research-projects/impacts-climate-change-and-heat-health"
tier: 1
funders: "Turing ASG, SoCaR"
pis:
- mark_birkin
- gavin_shaddick
team:
- fernando_benitez
- ruth_bowyer
- bowen_zhang
- griffith_rees
- greg_mingas
- camila_rangel_smith
- jennifer_ding
- harry_meacher
- greg_mingas
- griffith_rees
- andy_smith
- bowen_zhang
---

# Introduction
Expand Down
13 changes: 12 additions & 1 deletion src/pages/blog/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ let authors = await getEntries(entry.data.authors);
let projects = entry.data.projects
? await getEntries(entry.data.projects)
: null;
const dateFormatOptions: object = {
year: "numeric",
month: "long",
day: "numeric",
timeZone: "UTC",
};

let formattedPublishDate = new Date(entry.data.publish_date).toLocaleDateString(
"en-GB",
dateFormatOptions,
);
---

<Base>
Expand Down Expand Up @@ -66,7 +77,7 @@ let projects = entry.data.projects
<header>
<h2>{entry.data.title}</h2>
{entry.data.draft && <p class="text-red-600">DRAFT</p>}
<p>Published on: {entry.data.publish_date}</p>
<p>Published on: {formattedPublishDate}</p>
</header>
{
entry.data.image && (
Expand Down
Loading