Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature Request: Stackplot for Dataframes with Multiple Age/Paleoclimate Value Columns #46

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

Open
chmzs opened this issue Mar 4, 2025 · 0 comments

Comments

@chmzs
Copy link

chmzs commented Mar 4, 2025

First, thank you for creating and maintaining such a wonderful package! It addresses a need I've had for a long time.

I'm writing to request a feature that would enhance the package's utility for paleoclimate data visualization, specifically the creation of stackplots.

A common challenge when working with paleoclimate data from multiple sources is that these datasets often come in the form of "non-equal length" dataframes (i.e., dataframes with varying lengths) and have different temporal resolutions. This often leads to a situation where each proxy (paleoclimate indicator) has its own dedicated age/time column alongside its paleoclimate value column.

Given this scenario, I'm wondering:

Is it possible to create stackplots directly from a "wide" dataframe structure where each proxy has separate age/value columns?

If not directly from a wide format, what is the recommended approach for generating stackplots in this situation? Would it involve converting the data to a "long" dataframe format? If so, could you provide guidance or examples on how to structure the long dataframe and use your package to create the stackplot?

Any advice or potential implementation of this feature would be greatly appreciated. Thank you for your time and consideration.

As shown in the figure below: wider data.frame

Columns starting with ​**"KA"​ represent the year/period columns.
Columns starting with ​
"VAL"​ indicate the proxy indicator values.
Columns starting with ​
"ATR"**​ denote the data's proxy indicator attributes.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant