C# SDK 1.23.10 Forecast Volume Date filters

I’m unclear in what this filter is intended to target, I am assuming it is the date of the forecast volume, please advise.

For testing purposes, I am filtering to a specific well inside the Project and Forecast.

Here are a few scenarios and their outcomes while testing GetForecastDailyVolumes:

  1. No startDate and endDate, null is returned
  2. startDate and endDate filters of ‘10/1/2023’, ‘12/31/2023’ returns all the phases but just looking at oil, that returns 1827 Volumes.
  3. startDate and endDate filters of ‘10/1/2023’, ‘2/28/2023’ returns all the phases but just looking at oil, that returns 1827 Volumes.
  4. Greater than a 5 year date span, throws and error saying (paraphrasing) “you can’t search more than 5 years”

I was manually creating these volumes before and that is the exact same number, 1827 as the total forecast curves.

Hey @JohnC welcome to the forum!

It seems that you are correct! There is a bug with GetForecastDailyVolumes that is ignoring date filter values. I will talk to our project manager and see when we can slip in a fix.

@HGantz Thank you. Is there a recommended workaround? I can’t get data to return without dates but if I add any date filters, I can’t align the data returned to the actual volume dates.

@JohnC I just did a quick test to see if I could duplicate your issue where you are unable to return any data but I wasn’t able to duplicate your issue. Maybe I’m misunderstanding your issue?

I tried the following using the SDK version v1.23.10 and the latest v1.23.11

var volumesSkipTakeFilter = client.GetForecastDailyVolumes(DefaultProjectId, DefaultForecastId, 25, 200);
var volumesNullFilter = client.GetForecastDailyVolumes(DefaultProjectId, DefaultForecastId, null, null, null, null, null, null, null);
var volumesNoFilter = client.GetForecastDailyVolumes(DefaultProjectId, DefaultForecastId);

For every test, I was able to return data. It may be possible that there is an issue with the actual forecast data you are trying to retrieve, but I’m not sure without more information.

All that said, there is still a bug where the StartDate and EndDate seem to be ignored. However, this is an issue with our actual API, not the SDK and it only seems to be affecting the the daily endpoint. Monthly seems to work as intended.

Thanks, I’ll check again.

Just to follow up, I was not getting Volumes back on 1.23.10 with your examples but did get all the Volumes expected after upgrading to 1.23.11 so that should work while waiting on the date filter updates.

Thank you

Thanks for the update! We’ll let you know as soon as the fix is implemented.