ARM-DOE / ACT

Atmospheric data Community Toolkit - A python based toolkit for exploring and analyzing time series atmospheric datasets
https://ARM-DOE.github.io/ACT/
Other
133 stars 34 forks source link

ADD: calculate_percentage function. #811

Closed zssherman closed 3 months ago

zssherman commented 3 months ago

This function allows the user (ex: aerosol data) to provide fields and calculate the percentage of that field in a volume. The code also checks for invalid numbers if the user provides a threshold. User can also provided a specific time, a range of times, or get an mean of the whole dataset.

This function will eventually be used for the PieChart function I'm working on.

zssherman commented 3 months ago

I'm not sure why the hashes aren't matching...

zssherman commented 3 months ago

Rerunning one more time with the PR now for arm-test-data

zssherman commented 3 months ago

@AdamTheisen Yeah I can do that! It's a one liner that I can add in the example. Once the piechart function is actually added, i can swap out the one line in the example with the new function

zssherman commented 3 months ago

@AdamTheisen Example has been added.

zssherman commented 3 months ago

Once this is approved, we can merge and I'll rerun Bobby's PR