fillDayWeather
Fills a shooting day's weather, temperatures, sunrise and sunset from a weather forecast for the day's location, and saves them on the day. The location needs coordinates. When the date is beyond the forecast range, only sunrise and sunset are filled. Requires edit access to the project.
Arguments
dateLocalDateDate to look up, as
YYYY-MM-DD; also saved on the day. Defaults to the day's date.dayIdID!ID of the day to fill.
locationIdIDID of the
Locationto look up; also saved on the day. Defaults to the day's location.locationNameStringDisplay name to save with the location. Defaults to the location's name.
projectIdID!ID of the project.
Returns
DayWeatherFillResult!Example
mutation FillDayWeather($date: LocalDate, $dayId: ID!, $locationId: ID, $locationName: String, $projectId: ID!) {
fillDayWeather(
date: $date
dayId: $dayId
locationId: $locationId
locationName: $locationName
projectId: $projectId
) {
forecastAvailable
id
sunrise
sunset
weather
weatherCondition
weatherMaxTemperature
weatherMinTemperature
}
}