Creating Month Attribute in NOAA Weather Data

Tags:
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15555 Score: 0
    Travis Weiland
    Participant

    Hi,

    I have been trying to figure out how I can create a formula to create a new attribute of Month in a data set collected using the NOAA weather data. There is a when attribute in the dataset when it is created from the plugin but I am having trouble figuring out what format it is in to know what kind of function I need to transform it to create a new attribute. Basically if the when is 1/2/2026 I want the Month attribute to then be January.

    #15556
    Bill Finzer
    Keymaster

    Hi Travis,

    In the formula editor you can browse the available functions by category. The Date/Time category, as shown in the accompanying screenshot, has two functions that might serve your purpose. The month function takes a date and returns the number of the month for that date while the monthName function returns the name of the corresponding month.

    I hope that helps!

    Bill

    Attachments:
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.