natashabatalha / picaso

A Planetary Intensity Code for Atmospheric Spectroscopy Observations
https://natashabatalha.github.io/picaso
GNU General Public License v3.0
69 stars 42 forks source link

Using Sonora Diamondback #224

Open myrlaphil opened 2 months ago

myrlaphil commented 2 months ago

I'm looking to use the Sonora: Diamondback pressure-temp profiles for my models but I am getting errors in the file format as they are ".pt" files. Any advice on how to continue? I tried to see if there was a simple way to convert the file format from .pt to .dat but I'm not finding anything. Thanks in advance! Here's the error:

Screenshot 2024-09-26 at 12 07 47 AM
natashabatalha commented 2 months ago

Hey @myrlaphil ! We currently dont have a direct plugin for the Diamondback grid but we should! So I have labeled this as an enhancement and will try and address it in late october. Let me know if you need help reading in the pt files or if there are other parts we can help with.

myrlaphil commented 2 months ago

Awesome! I was able to get the pt files read with little effort. I have a few questions that perhaps you can save me some time on with my investigation of how to continue with my cloudy Brown Dwarf models:

  1. I am now trying to find a way to consider gas condensates as virga does (... Is this necessary or is that already considered with the Diamond Back TP profile?)
  2. Will the enhancements that you are planning come with a way for the gas condensates to be specified as virga does or will it automatically consider the condensates given the atmospheric TP ?
  3. Are the Diamondback chemistry files ( that hold cloud optical properties ) needed here for cloud consideration? how should they be included ( is this similar to what Virga does )?

Thanks again!

cianotoole11 commented 1 day ago

Hi there, this sounds like a really good addition to Picaso,! I was wondering, is there any rough timeline as to when Sonora Diamondback will be added?

natashabatalha commented 4 hours ago

Hi @cianotoole11 and @myrlaphil : I've been meaning to do this for a long time. Let me try and post a notebook for testing by the end of the week. Thanks for the push

cianotoole11 commented 3 hours ago

Brilliant thank you! I just want to double check, that when added, this should be compatible with seeing how clouds affect the atmosphere, as with https://natashabatalha.github.io/picaso/notebooks/7_PairingPICASOToVIRGA.html#Analyzing-Cloudy-versus-Cloud-free ?