I've merged two image collections after calculating median values by month in each collection from 2000 to 2018. However I need to carry out an operation that needs the "sytem:time.start" field that was lost after calculating the monthly means. Therefore, I would like to know how to add a property within each image of the collection from a list representing month and year? The only property I have now in my collection is "system:index".

The code can be accessed by this link. The collection I want to associate with "system:time.start" information is on line 164, named "joined_collections"

closed as off-topic by Kersten, Dan C, user30184, whyzar, BERA Apr 23 '18 at 13:31

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – Kersten, Dan C, user30184, whyzar, BERA
If this question can be reworded to fit the rules in the help center, please edit the question.