[yt-users] NetCDF autoloader

Kacper Kowalik xarthisius.kk at gmail.com
Thu Mar 9 12:27:16 PST 2017


On 03/09/2017 12:49 PM, Marianne Corvellec wrote:
> Hi Kacper,
> 
> Thank you so much for your reply!!
> 
> This script is a great starting point for me.
> 
> I'm trying to adapt it to this dataset
> 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
> and I've reached line 47 -- could I find your example file
> ('cm1out_000013.nc') somewhere to help me troubleshoot?
> 
> Thanks again,
> Marianne

Hi Marianne,
the file can be downloaded from here http://use.yt/upload/06f23b0b
I modified the original script slightly:
http://paste.yt-project.org/show/7074/
it should at least show something with your data.
However, it also shows how crude and inefficient the "autodetection" is...
Cheers,
Kacper

> On Sat, Mar 4, 2017 at 6:11 PM, Kacper Kowalik <xarthisius.kk at gmail.com> wrote:
>> On 03/02/2017 01:19 PM, Marianne Corvellec wrote:
>>> Dear yt community,
>>>
>>> I am relatively new to this list and this is my first time posting.
>>> I'm still getting acquainted with the yt library.  At least now I'm
>>> enjoying a fully functional setup locally (something which had been on
>>> my to-do list).
>>>
>>> I've had an informal chat with Matt Turk about using yt in
>>> climatology.  He mentioned some folks were working on a NetCDF
>>> autoloader.  I would love to connect with these folks, and possibly
>>> help out.
>>>
>>> Thank you!
>>> Marianne
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>> Hi Marianne,
>> I played a bit with the idea of autoloading NetCDFs into yt. Once upon a
>> time we tried to create an interactive visualization of a climate
>> dataset that was handed to us. In the process we came up with a simple
>> script that could be used to read netcdf and feed yt with the data:
>>
>> http://paste.yt-project.org/show/7068/
>>
>> That's just a simple hack, rather than something "production" ready.
>> However, If you'd like to create a proper frontend for generic
>> climate/geo data I'd love to help.
>> Cheers,
>> Kacper
>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170309/7c38564e/attachment.sig>


More information about the yt-users mailing list