<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Antanas Vaitkus</b> <span dir="ltr"><<a href="mailto:antanas.vaitkus90@gmail.com">antanas.vaitkus90@gmail.com</a>></span><br>Date: 2018-01-25 10:33 GMT+02:00<br>Subject: Re: [Cod-bugs] COD data taken at ambient conditions?<br>To: Donald Lindsley <<a href="mailto:donald.lindsley@stonybrook.edu">donald.lindsley@stonybrook.edu</a>><br><br><br><div dir="ltr"><div><div><div><div><div><div>Dear Professor Lindsley,<br><br></div>thank You for taking interest in using the COD.<br><br></div>The COD web search interface currently does not implement search by temperature and pressure, but an SQL query can be issued directly to the MySQL database.<br></div><div>A description of how such queries can be constructed, executed and the structures of interest acquired can be found here:<br><a href="http://wiki.crystallography.net/howtoquerycod/" target="_blank">http://wiki.crystallography.<wbr>net/howtoquerycod/</a><br></div><div><br></div><div>I think that in Your case a query of following form should suffice:<br></div><div><br></div>SELECT file FROM data WHERE<br>( diffrtemp is NULL OR ( diffrtemp > 293 AND diffrtemp < 298 ) )<br>AND<br>( diffrpressure is NULL OR ( diffrpressure > 100 AND diffrpressure < 102 ) )<br><br></div>This query returns the IDs of all of the structures that have the measurement temperature in the range of [293; 298] Kelvins and the pressure in the range of [100; 102] kPa.<br></div>It also returns all of the structures for which the temperature and pressure are not explicitly specified (which sometimes (but not always) means that the experiment was conducted<br></div>at ambient conditions).<br><div><div><div><br></div><div>Will this approach be sufficient for Your needs?<br><br></div><div>Sincerely,<br></div><div>Antanas Vaitkus<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2018-01-24 17:50 GMT+02:00 Donald Lindsley <span dir="ltr"><<a href="mailto:donald.lindsley@stonybrook.edu" target="_blank">donald.lindsley@stonybrook.<wbr>edu</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div style="font-size:small">Hello-</div><div style="font-size:small"><br></div><div style="font-size:small">Is there a way to sort the COD to retrieve only data obtained at ambient conditions?</div><div style="font-size:small"><br></div><div style="font-size:small">Thank you,</div><div style="font-size:small"><br></div><div style="font-size:small">Donald Lindsley</div><div style="font-size:small">Distinguished Professor Emeritus</div><div style="font-size:small">Department of Geosciences</div><div style="font-size:small">Stony Brook University​</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Cod-bugs mailing list<br>
<a href="mailto:Cod-bugs@lists.crystallography.net" target="_blank">Cod-bugs@lists.crystallography<wbr>.net</a><br>
<a href="http://lists.crystallography.net/cgi-bin/mailman/listinfo/cod-bugs" rel="noreferrer" target="_blank">http://lists.crystallography.n<wbr>et/cgi-bin/mailman/listinfo/co<wbr>d-bugs</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-3349249003796490502gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Antanas Vaitkus,<br></div>PhD student at Vilnius University Institute of Biotechnology,<br><span><span><span>room V325, </span></span></span>Saulėtekio al. 7,<br>LT-10257 Vilnius, Lithuania<br></div><div><div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><br></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Antanas Vaitkus,<br></div>PhD student at Vilnius University Institute of Biotechnology,<br><span><span><span>room V325, </span></span></span>Saulėtekio al. 7,<br>LT-10257 Vilnius, Lithuania<br></div><div><div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><br></div></div></div></div></div></div></div></div></div></div></div>
</div>