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

Changing Treatment Options #272

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
24 changes: 2 additions & 22 deletions src/Platform/App/components/Inputs/Frcs/FrcsInputsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,9 @@ export const FrcsInputsContainer = (props: Props) => {
</StyledInput>
<FormText>
<span id='treatmentTooltip'>
Description:
Description: {' '}
{Treatments[props.inputs.treatmentid - 1].description}
</span>
<UncontrolledTooltip
placement='bottom'
target='treatmentTooltip'
className='tooltip-sidebar'
container='sidebar'
>
Private: {Treatments[props.inputs.treatmentid - 1].private}
<br />
Forest: {Treatments[props.inputs.treatmentid - 1].forest}
</UncontrolledTooltip>
</FormText>
</FormGroup>
<FormGroup className='flex items-start justify-center flex-col'>
Expand Down Expand Up @@ -128,19 +118,9 @@ export const FrcsInputsContainer = (props: Props) => {
</StyledInput>
<FormText>
<span id='treatmentTooltip'>
Description:
Description: {' '}
{Treatments[props.inputs.treatmentid - 1].description}
</span>
<UncontrolledTooltip
placement='bottom'
target='treatmentTooltip'
className='tooltip-sidebar'
container='sidebar'
>
Private: {Treatments[props.inputs.treatmentid - 1].private}
<br />
Forest: {Treatments[props.inputs.treatmentid - 1].forest}
</UncontrolledTooltip>
</FormText>
</FormGroup>
<FormGroup className='flex items-start justify-center flex-col'>
Expand Down
78 changes: 28 additions & 50 deletions src/Platform/App/models/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,95 +81,73 @@ export interface Treatment {
id: number;
name: string;
description: string;
private: string;
forest: string;
}

export const Treatments: Treatment[] = [
{
id: 1,
name: 'Clearcut',
description: 'All live and dead trees over 10 inches cut.',
private:
'For smaller size classes, cut at the following proportions for both live and dead: 0-1" DBH - 30%, 1-5" DBH - 60%, 5-10" DBH - 90%',
forest: 'This treatment is not performed on FS land.'
name: 'RMI100',
description: 'Remove all live and dead trees.'
},
{
id: 2,
name: 'Commercial Thin',
name: 'SDI30',
description:
'Remove trees > 10 inches DBH, starting with small ones closest to 10” until a certain residual basal area is reached, which is based on site class',
private: 'N/A',
forest: 'This treatment is not performed on FS land.'
'Stand Density Index (SDI) targeted treatment, aims to reduce the SDI of stands to a targeted portion of the maximum SDI for the stand. SDI30 targets a final SDI of 30% of the maximum SDI.'
},
{
id: 3,
name: 'Commercial Thin Chip Tree Removal',
name: 'SDI55',
description:
'Same as Commercial thin but with the additional removal of small trees.',
private:
'Remove small trees in the following proportions: 0-1" DBH, - 20% 1-5" DBH - 50%, 5-10" DBH - 80%',
forest:
'Remove small trees in the following proportions: 0-1" DBH - 20%, 1-5" DBH - 85%, 5-10" DBH - 90%'
'Stand Density Index (SDI) targeted treatment, aims to reduce the SDI of stands to a targeted portion of the maximum SDI for the stand. SDI55 targets a final SDI of 55% of the maximum SDI.'
},
{
id: 4,
name: 'Timber Salvage',
description: 'Remove all dead trees for timber (fire salvage)',
private: 'N/A',
forest: 'N/A'
name: 'TFA_20',
description:
'20% reduction in basal area, thinning from above (the largest trees are removed first)'
},
{
id: 5,
name: 'Timber Salvage Chip Tree Removal',
name: 'TFA_40',
description:
'Same as Timber Salvage but with the additional removal of small trees.',
private:
'Remove small trees in the following proportions: 0-1" DBH - 30%, 1-5" DBH - 60%, 5-10" DBH - 90%',
forest:
'Remove small trees in the following proportions: 0-1" DBH - 20%, 1-5" DBH - 85%, 5-10" DBH - 90%'
'40% reduction in basal area, thinning from above (the largest trees are removed first)'
},
{
id: 6,
name: 'Selection',
name: 'TFA_60',
description:
'Remove some trees but leave behind at least 15 sq ft/ac of basal area of trees > 18" DBH',
private: 'N/A',
forest: 'This treatment is not performed on FS land.'
'60% reduction in basal area, thinning from above (the largest trees are removed first)'
},
{
id: 7,
name: 'Selection Chip Tree Removal',
name: 'TFA_80',
description:
'Same as Selection thin but with the additional removal of small trees.',
private:
'Remove small trees in the following proportions: 0-1" DBH - 20%, 1-5" DBH - 50%, 5-10" DBH - 80%',
forest: 'This treatment is not performed on FS land.'
'80% reduction in basal area, thinning from above (the largest trees are removed first)'
},
{
id: 8,
name: 'Ten Percent Group Selection',
name: 'TFB_20',
description:
'10% of the area of the harvest unit is Clearcut and the rest of the area meets requirements for Selection with small tree removal',
private: '',
forest: ''
'20% reduction in basal area, thinning from below (the smallest trees are removed first)'
},
{
id: 9,
name: 'Twenty Percent Group Selection',
name: 'TFB_40',
description:
'20% of the area of the harvest unit is Clearcut and the rest of the area meets requirements for Selection with small tree removal',
private: '',
forest: 'This treatment is not performed on FS land.'
'40% reduction in basal area, thinning from below (the smallest trees are removed first)'
},
{
id: 10,
name: 'Biomass Salvage',
description: 'Remove all dead trees for biomass (die-off salvage)',
private:
'Remove small trees in the following proportions: 0-1" DBH - 30%, 1-5" DBH - 60%, 5-10" DBH - 90%',
forest:
'Remove small trees in the following proportions: 0-1" DBH - 20%, 1-5" DBH - 85%, 5-10" DBH - 90%'
name: 'TFB_60',
description:
'60% reduction in basal area, thinning from below (the smallest trees are removed first)'
},
{
id: 11,
name: 'TFB_80',
description:
'80% reduction in basal area, thinning from below (the smallest trees are removed first)'
}
];

Expand Down
1 change: 1 addition & 0 deletions src/Styles/Landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
justify-content: center;
gap: 16px;
padding: 16px;
max-width: 786px;
}

.publications-container>* {
Expand Down