<div><br><div class="gmail_quote"><div>On Fri, Mar 10, 2017 at 2:48 PM Marianne Corvellec <<a href="mailto:marianne.corvellec@gmail.com">marianne.corvellec@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wonderful!  Thanks for sharing the vision, Nathan.<br class="gmail_msg">
<br class="gmail_msg">
I'll be investigating and reporting issues; hopefully I can spend more<br class="gmail_msg">
time on this starting next month.  Will there be a yt sprint at SciPy<br class="gmail_msg">
2017?</blockquote><div><br></div><div>Yes, although I'm worried about the transgender bathroom bill in the Texas legislature.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="gmail_msg">
<br class="gmail_msg">
For the sake of context, the precipitation data I'm playing with looks<br class="gmail_msg">
like this:<br class="gmail_msg">
<a href="https://github.com/Ouranosinc/data-visualization/blob/master/year_slider.ipynb" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/Ouranosinc/data-visualization/blob/master/year_slider.ipynb</a><br class="gmail_msg">
<br class="gmail_msg">
Cheers,<br class="gmail_msg">
Marianne<br class="gmail_msg">
<br class="gmail_msg">
On Fri, Mar 10, 2017 at 4:17 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com" class="gmail_msg" target="_blank">nathan12343@gmail.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> On Fri, Mar 10, 2017 at 1:04 PM, Marianne Corvellec<br class="gmail_msg">
> <<a href="mailto:marianne.corvellec@gmail.com" class="gmail_msg" target="_blank">marianne.corvellec@gmail.com</a>> wrote:<br class="gmail_msg">
>><br class="gmail_msg">
>> Hi Kacper!<br class="gmail_msg">
>><br class="gmail_msg">
>> Thank you very much.<br class="gmail_msg">
>><br class="gmail_msg">
>> I was able to run the following <a href="http://paste.yt-project.org/show/7081/" rel="noreferrer" class="gmail_msg" target="_blank">http://paste.yt-project.org/show/7081/</a><br class="gmail_msg">
>> on my dataset, adapting the following from your script:<br class="gmail_msg">
>><br class="gmail_msg">
>> * I took a slice of the data, keeping only 2 days out of the 366 (this<br class="gmail_msg">
>> is variable 'time' renamed into 'altitude').  If I kept all days, my<br class="gmail_msg">
>> memory would completely fill up (15.5G), which would kill my kernel.<br class="gmail_msg">
>> With 2 days, memory fills up to ~5G...  I should study what<br class="gmail_msg">
>> ProjectionPlot() does exactly.<br class="gmail_msg">
>><br class="gmail_msg">
>> * Note that SlicePlot() yields exactly the same output, i.e., this<br class="gmail_msg">
>> unexpected projection (plot attached).  Boundaries for x and y don't<br class="gmail_msg">
>> match `bbox`<br class="gmail_msg">
>><br class="gmail_msg">
>> array([[ 3652.        ,  4017.        ],<br class="gmail_msg">
>>        [   41.04166794,    83.45832825],<br class="gmail_msg">
>>        [ -140.95832825,   -52.04167175]], dtype=float32)<br class="gmail_msg">
>><br class="gmail_msg">
>> these values being output again by yt in the stream.<br class="gmail_msg">
>><br class="gmail_msg">
>> * I removed `ds.surface_height = 0 * ds.domain_width.uq` which doesn't<br class="gmail_msg">
>> seem to make a difference, and set `field = 'pr'` (which stands for<br class="gmail_msg">
>> precipitation).<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Cool!<br class="gmail_msg">
><br class="gmail_msg">
> There is still lots of work to do to make working with these sorts of data<br class="gmail_msg">
> "nicer". We're very interested in hearing about the issues you run into as<br class="gmail_msg">
> adding first-class support for these sorts of data will become a big focus<br class="gmail_msg">
> in the next few years.<br class="gmail_msg">
><br class="gmail_msg">
>><br class="gmail_msg">
>><br class="gmail_msg">
>> Cheers,<br class="gmail_msg">
>> Marianne<br class="gmail_msg">
>><br class="gmail_msg">
>> PS: I can't run the initial script<br class="gmail_msg">
>> (<a href="http://paste.yt-project.org/show/7068/" rel="noreferrer" class="gmail_msg" target="_blank">http://paste.yt-project.org/show/7068/</a>) readily on "<a href="http://cm1out_000013.nc" rel="noreferrer" class="gmail_msg" target="_blank">cm1out_000013.nc</a>"<br class="gmail_msg">
>> (getting KeyError: 'ni' line 26; a quick glance at $ ncdump -h<br class="gmail_msg">
>> <a href="http://cm1out_000013.nc" rel="noreferrer" class="gmail_msg" target="_blank">cm1out_000013.nc</a> shows float xh(ni) among the variables, not ni(ni)...<br class="gmail_msg">
>> not that I'm super familiar with netcdf data myself).<br class="gmail_msg">
>><br class="gmail_msg">
>> On Thu, Mar 9, 2017 at 3:27 PM, Kacper Kowalik <<a href="mailto:xarthisius.kk@gmail.com" class="gmail_msg" target="_blank">xarthisius.kk@gmail.com</a>><br class="gmail_msg">
>> wrote:<br class="gmail_msg">
>> > On 03/09/2017 12:49 PM, Marianne Corvellec wrote:<br class="gmail_msg">
>> >> Hi Kacper,<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >> Thank you so much for your reply!!<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >> This script is a great starting point for me.<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >> I'm trying to adapt it to this dataset<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >> <a href="http://outarde.crim.ca:8083/thredds/catalog/birdhouse/nrcan/nrcan_canada_daily/catalog.html?dataset=birdhouse/nrcan/nrcan_canada_daily/nrcan_canada_daily_pr_1960.nc" rel="noreferrer" class="gmail_msg" target="_blank">http://outarde.crim.ca:8083/thredds/catalog/birdhouse/nrcan/nrcan_canada_daily/catalog.html?dataset=birdhouse/nrcan/nrcan_canada_daily/nrcan_canada_daily_pr_1960.nc</a><br class="gmail_msg">
>> >> and I've reached line 47 -- could I find your example file<br class="gmail_msg">
>> >> ('<a href="http://cm1out_000013.nc" rel="noreferrer" class="gmail_msg" target="_blank">cm1out_000013.nc</a>') somewhere to help me troubleshoot?<br class="gmail_msg">
>> >><br class="gmail_msg">
>> >> Thanks again,<br class="gmail_msg">
>> >> Marianne<br class="gmail_msg">
>> ><br class="gmail_msg">
>> > Hi Marianne,<br class="gmail_msg">
>> > the file can be downloaded from here <a href="http://use.yt/upload/06f23b0b" rel="noreferrer" class="gmail_msg" target="_blank">http://use.yt/upload/06f23b0b</a><br class="gmail_msg">
>> > I modified the original script slightly:<br class="gmail_msg">
>> > <a href="http://paste.yt-project.org/show/7074/" rel="noreferrer" class="gmail_msg" target="_blank">http://paste.yt-project.org/show/7074/</a><br class="gmail_msg">
>> > it should at least show something with your data.<br class="gmail_msg">
>> > However, it also shows how crude and inefficient the "autodetection"<br class="gmail_msg">
>> > is...<br class="gmail_msg">
>> > Cheers,<br class="gmail_msg">
>> > Kacper<br class="gmail_msg">
>> ><br class="gmail_msg">
>> >> On Sat, Mar 4, 2017 at 6:11 PM, Kacper Kowalik<br class="gmail_msg">
>> >> <<a href="mailto:xarthisius.kk@gmail.com" class="gmail_msg" target="_blank">xarthisius.kk@gmail.com</a>> wrote:<br class="gmail_msg">
>> >>> On 03/02/2017 01:19 PM, Marianne Corvellec wrote:<br class="gmail_msg">
>> >>>> Dear yt community,<br class="gmail_msg">
>> >>>><br class="gmail_msg">
>> >>>> I am relatively new to this list and this is my first time posting.<br class="gmail_msg">
>> >>>> I'm still getting acquainted with the yt library.  At least now I'm<br class="gmail_msg">
>> >>>> enjoying a fully functional setup locally (something which had been<br class="gmail_msg">
>> >>>> on<br class="gmail_msg">
>> >>>> my to-do list).<br class="gmail_msg">
>> >>>><br class="gmail_msg">
>> >>>> I've had an informal chat with Matt Turk about using yt in<br class="gmail_msg">
>> >>>> climatology.  He mentioned some folks were working on a NetCDF<br class="gmail_msg">
>> >>>> autoloader.  I would love to connect with these folks, and possibly<br class="gmail_msg">
>> >>>> help out.<br class="gmail_msg">
>> >>>><br class="gmail_msg">
>> >>>> Thank you!<br class="gmail_msg">
>> >>>> Marianne<br class="gmail_msg">
>> >>>> _______________________________________________<br class="gmail_msg">
>> >>>> yt-users mailing list<br class="gmail_msg">
>> >>>> <a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
>> >>>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >>> Hi Marianne,<br class="gmail_msg">
>> >>> I played a bit with the idea of autoloading NetCDFs into yt. Once upon<br class="gmail_msg">
>> >>> a<br class="gmail_msg">
>> >>> time we tried to create an interactive visualization of a climate<br class="gmail_msg">
>> >>> dataset that was handed to us. In the process we came up with a simple<br class="gmail_msg">
>> >>> script that could be used to read netcdf and feed yt with the data:<br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >>> <a href="http://paste.yt-project.org/show/7068/" rel="noreferrer" class="gmail_msg" target="_blank">http://paste.yt-project.org/show/7068/</a><br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >>> That's just a simple hack, rather than something "production" ready.<br class="gmail_msg">
>> >>> However, If you'd like to create a proper frontend for generic<br class="gmail_msg">
>> >>> climate/geo data I'd love to help.<br class="gmail_msg">
>> >>> Cheers,<br class="gmail_msg">
>> >>> Kacper<br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >>> _______________________________________________<br class="gmail_msg">
>> >>> yt-users mailing list<br class="gmail_msg">
>> >>> <a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
>> >>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
>> >>><br class="gmail_msg">
>> >> _______________________________________________<br class="gmail_msg">
>> >> yt-users mailing list<br class="gmail_msg">
>> >> <a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
>> >> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
>> >><br class="gmail_msg">
>> ><br class="gmail_msg">
>> ><br class="gmail_msg">
>> ><br class="gmail_msg">
>> > _______________________________________________<br class="gmail_msg">
>> > yt-users mailing list<br class="gmail_msg">
>> > <a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
>> > <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
>> ><br class="gmail_msg">
>><br class="gmail_msg">
>> _______________________________________________<br class="gmail_msg">
>> yt-users mailing list<br class="gmail_msg">
>> <a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
>><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> yt-users mailing list<br class="gmail_msg">
> <a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
><br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
yt-users mailing list<br class="gmail_msg">
<a href="mailto:yt-users@lists.spacepope.org" class="gmail_msg" target="_blank">yt-users@lists.spacepope.org</a><br class="gmail_msg">
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br class="gmail_msg">
</blockquote></div></div>