[python #VGJ-299776]: Python GOES-16 Plot Question
- Subject: [python #VGJ-299776]: Python GOES-16 Plot Question
- Date: Tue, 09 Oct 2018 12:46:06 -0600
If you look at the call to `interact`, you'll see:
interact(plot_GOES16_channel, date=fixed(date), idx=fixed(-2),
The parameter idx is passed in as a fixed value of -2; if you look at the
`open_dataset` function, you can see this value is used to index into `dataset`
to pull out the file to view. So the notebook only uses the date to determine
which folder of data to use, and then always uses the second-to-last data file
within that folder.
You may be able modify the notebook to use the `filter_time_nearest` method to
identify the file in the catalog closest to your desired time:
For more information see this notebook:
Hope this helps,
> Hello team,
> I've been using your Jupyter notebook for the GOES-16 widget image
> generation and am running into a little issue when trying to get past time
> I'm using your notebook from:
> I added the Full Disk region to the code as well so I'm trying to get the
> every 15 minute image.
> When I try and change the date = datetime.utcnow() to a different date and
> time from the past ie 2018-09-25, any hour and minute I try to pass into
> the notebook, I only get the 23:30Z image for that day. Is it that I am not
> setting the time corresponding to the image correctly?
> Is there any solution that comes to mind in how to correct this?
Ticket ID: VGJ-299776
Department: Support Python
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata
inquiry tracking system and then made publicly available through the web. If
you do not want to have your interactions made available in this way, you must
let us know in each email you send to us.