xarray-contrib / xarray.dev

The Xarray landing page
https://xarray.dev
Apache License 2.0
12 stars 20 forks source link

[User story proposal] Xarray for Economics (Econ-ARK) #347

Open jhamman opened 2 years ago

jhamman commented 2 years ago

This is a proposal for an economics use case story for Xarray. The story will be published on Xarray's blog (https://xarray.dev/blog).

Why?

We've seen Xarray is used in a number of economics applications (e.g. Econ-ARK) and we've heard its used in other financial modeling context (@max-sixty could likely list a few). A user story blog post showing how Xarray can be used to represent and analyze economics data (in Econ-ARK) would help socialize the concept across the Xarray developer and broader economics communities.

What?

We are targeting a short and non-technical post that illustrates how Xarray is used in the Econ-ARK context. Below is a template outline that you should feel free to modify:

  1. Who am I?
  2. What problem am I trying to solve?
  3. How does Xarray help?
  4. Why did I choose Xarray?
  5. Current pain points (or ways that Xarray could better serve your use case)
  6. Technology I use around Xarray
  7. Anything else to know?
  8. Links and references

Feel free to insert images or short code blocks if they help you tell your story.

How?

Xarray's blog using Markdown with some front-matter. You can copy one of the existing posts to get started or you can write in a google-doc-like-thing and ask us to do the markdown formatting. If you copy a previous post, use a name like user-story-econ-ark or whatever makes sense for your application.

xref: https://github.com/xarray-contrib/xarray.dev/issues/272

jhamman commented 2 years ago

@llorracc - would you, or someone in the Econ-ARK community, be up for writing a short post here?

llorracc commented 2 years ago

Sure! Am cc’ing Alan who would be the right person to do it.

I’ve got a question for you when I locate you (or if you see me).

On Fri, Sep 23, 2022 at 2:41 PM Joe Hamman @.***> wrote:

@llorracc https://github.com/llorracc - would you, or someone in the Econ-ARK community, be up for writing a short post here?

— Reply to this email directly, view it on GitHub https://github.com/xarray-contrib/xarray.dev/issues/347#issuecomment-1256703946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCK75HREE44IGOYW5NPHDV7YPZHANCNFSM6AAAAAAQUKRMGE . You are receiving this because you were mentioned.Message ID: @.***>

-- Sent from Gmail Mobile

alanlujan91 commented 2 years ago

I may already have something for this!

jhamman commented 2 years ago

@alanlujan91 - let me know if you have any questions.

jhamman commented 2 years ago

@alanlujan91 - circling back here, are you still up for writing a short post? We're ready to help get it on the site whenever you have a draft.

llorracc commented 2 years ago

Joe,

@alanlujan91 has been working on figuring out how to implement some interpolation stuff and has been exploring xarray as part of that. I think there are some questions he has about how xarray interpolations work and whether they can do what we need for our project -- if they do, then we'll probably want to use xarray in our solution to these problems. And if they don't, at least we can post an issue or a question. (My suspicion is that there is a way to do what we want with the existing tools, but it's not easy to figure out how to do it, which would be the perfect subject for a post.)

So, can you put Alan in touch with whoever might be most knowledgeable about xarray's interpolation tools and maybe we can have a great outcome for this.

jhamman commented 2 years ago

@alanlujan91 - if you can post your question here, we'll make sure to get some eyes on it. Additionally, the xarray office hours series is starting up soon which you may find useful.

alanlujan91 commented 1 year ago

Have finally pushed this notebook to master, would appreciate some feedback on how we can use xarray better and would be happy to publish this work (or a brief summary) on your site.

https://github.com/econ-ark/HARK/blob/master/examples/LabeledModels/LabeledModels.ipynb https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsLabeledModel.py

jhamman commented 1 year ago

@alanlujan91 - this looks quite interesting, thank you for sharing!. My suggestion for the blog post would be to keep the focus at a slightly higher level, but certainly reference these examples and possibly even bring snapshot over as an example. Do you think you could use this application to write a post that follows the outline above?