Group Abstract Group Abstract

Message Boards Message Boards

When does it get warm? A function for urban warming trends via min/max temp thresholds

4 Replies

I forgot to add context for this function in the notebook.

Every Spring, the partner asks when it will get warm. Until I wrote the code, the best I could do was to say that it did not get warm until after my birthday, which occurs in late April

I wrote an early version of this function to answer the question. I expanded it into a package so that I could look at other cities, partly to see if it would make sense to move there.

I made the package into a function to submit to the Function repository, but the curators think this is too limited for general inclusion, so I submit it for the community.

The code can be easily modified to show things like when it gets cold (for skiers, perhaps), or other recurring temperature patterns.


I think that this sort of thing is what WL is best at: creating custom code to answer specific questions. In the dark ages, when I started to code, there were no commercial programs, and you had to write code for everything, so pretty much all programs were of this type. The code in the notebook here, is more complex to deal with different latitudes, etc. but the original code took about 20 minutes to write, and served to answer the quite personal question we had to answer.

Very nice! Thank you @George for sharing. I wonder if this representation can detect even slightest trend of warming up earlier to reflect correlation with global warming?

POSTED BY: Vitaliy Kaurov

WeatherData, by itself, does not go back far enough. I know that there is data for NYC going back to the 1860s, but it is not easily accessible. That may provide some hint of global warming, but the data That I do have shows that weather (as opposed to climate) is highly variable locally.

I hope that Wolfram's weather data will be made more comprehensive over time.

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard