[yt-dev] Issue #907: changing units manually in FLASH datasets (yt_analysis/yt)

Salvatore Cielo issues-reply at bitbucket.org
Fri Sep 19 06:18:23 PDT 2014


New issue 907: changing units manually in FLASH datasets
https://bitbucket.org/yt_analysis/yt/issue/907/changing-units-manually-in-flash-datasets

Salvatore Cielo:

Hello everyone,
I am a new yt user; working with FLASH datafiles. FLASH files work smoothly in general, but the front-end seems to lack the possibility to change the unit system in reading, on the contrary of some other dataset (e.g. Athena) where one can specify units at load time. 

I need to specify a custom unit system; either at load time or later. I mean, I want yt to read the exact numbers on the file, but attach different physical units to them. 

My files may be a bit special under this aspect, but it's true that the FLASH front-end assumes cgs only. Under http://yt.readthedocs.org/en/latest/examining/supported_frontends_data.html, the user is warned that this will happen, but there's no solution or workaround proposed...

I'd please like to know whether there's a way to change the units of a dataset, or to include the possibility of doing this manually in the front-end at load time.

Thank you!






More information about the yt-dev mailing list