<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/cpseis/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/cpseis/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 06 Dec 2024 02:28:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cpseis/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#157 TRCIO fails with SEG Y format 5</title><link>https://sourceforge.net/p/cpseis/bugs/157/?limit=25#a430</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Fri, 06 Dec 2024 02:28:20 -0000</pubDate><guid>https://sourceforge.net73969778769605f04c29e13c9b631faa1bae7df9</guid></item><item><title>TRCIO fails with SEG Y format 5</title><link>https://sourceforge.net/p/cpseis/bugs/157/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If a SEG Y file was written in format 5 (IEEE 32-bit float), then the result is garbage. SEG Y was originally big endian. However that did not stop people writing in little-endian format (as with x86 CPUs). The code in segy.f90 tries to guess the byte order and swap when needed, but this logic seems to fail with SEG Y format 5. Comments in the code have format 5 as "IEEE Landmark SEG Y". Perhaps that was big-endian. So extra if clauses migh be needed in segy.f90 or trcio.f90 to correct the issue. cbyt trace viewer also suffers from same problem with SEG Y format 5.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Fri, 01 Nov 2024 02:16:17 -0000</pubDate><guid>https://sourceforge.net1f5a1470830751639bb8029f44f321f09f87d2b7</guid></item><item><title>TRCIO fails with SEG Y format 5</title><link>https://sourceforge.net/p/cpseis/bugs/157/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 157 has been modified: TRCIO fails with SEG Y format 5&lt;br/&gt;
Edited By: seismick (seismick)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Fri, 01 Nov 2024 02:16:17 -0000</pubDate><guid>https://sourceforge.net485328cd1f241ccd4aadb987753d4dabbdde1159</guid></item><item><title>#156 incorrect frequencies in FXDECON</title><link>https://sourceforge.net/p/cpseis/bugs/156/?limit=25#59b8</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Fri, 01 Nov 2024 02:06:49 -0000</pubDate><guid>https://sourceforge.netb9523a9c2f48e044fe5daaeee22202f03f2a762c</guid></item><item><title>incorrect frequencies in FXDECON</title><link>https://sourceforge.net/p/cpseis/bugs/156/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The index for the specified frequency is calculated like this:&lt;br/&gt;
      obj%ifreq1 = nint(obj%freq_beg&lt;em&gt;obj%nfftp2/(2&lt;/em&gt;nyquist)) &lt;br/&gt;
      obj%ifreq2 = nint(obj%freq_end&lt;em&gt;obj%nfftp2/(2&lt;/em&gt;nyquist)) &lt;br/&gt;
Now after the real to complex FFT, there are nfft/2+1 complex values. The first is the zero frequency&lt;br/&gt;
(constant) component, the second is the fundamental (lowest) frequency and the last is Nyquist. The&lt;br/&gt;
above formula would be correct at Nyquist, but incorrect for low frequencies. For example, at 2 ms, Nyquist is 250 Hz. If user specified window length of 0.5 seconds, that is padded to 0.6 seconds for the FFT, so nfft=300 and obj%nfftp2=302. If user specified FREQ_BEG=1 Hz, then above yields &lt;br/&gt;
nint(0.604) and thus&lt;br/&gt;
obj%ifreq1=1, which is the zero Hertz component. The nearest frequency bin would be 1.667 Hz, the second array index. So instead, the formula should be:&lt;br/&gt;
  obj%ifreq1 = nint(obj%freq_beg&lt;em&gt;nfft/(2&lt;/em&gt;nyquist))+1&lt;/p&gt;
&lt;p&gt;The same code also appears in FXDENOIS and FXINTERP, so they would have to be modified too.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Tue, 17 Sep 2024 04:34:51 -0000</pubDate><guid>https://sourceforge.net286a9c6bc3fde8d91e5bca04e89a420fe6f75f85</guid></item><item><title>incorrect frequencies in FXDECON</title><link>https://sourceforge.net/p/cpseis/bugs/156/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 156 has been modified: incorrect frequencies in FXDECON&lt;br/&gt;
Edited By: seismick (seismick)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Tue, 17 Sep 2024 04:34:51 -0000</pubDate><guid>https://sourceforge.nete8f8e2a81678a2d7951edb9058b1f3098ecef6a4</guid></item><item><title>#155 AVOPCOMP SIGSEGV</title><link>https://sourceforge.net/p/cpseis/bugs/155/?limit=25#780e</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Fri, 05 Jul 2024 12:07:32 -0000</pubDate><guid>https://sourceforge.net2184b94769f6b9b4a7d492fd3eddd8a5a5d54f3f</guid></item><item><title>AVOPCOMP SIGSEGV</title><link>https://sourceforge.net/p/cpseis/bugs/155/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;AVOPCOMP works when only the eight-trace standard suite is input. But when velocity trace and seismic traces are added, it aborts with SIGSEGV on first gather. Found that the problem is that variable v_ptr was not initialised. It is used as array index, and so some large random number results in attempt to access invalid memory. The velocity trace is supposed to be the ninth trace in the input gather, and setting v_ptr to the index of the actual velocity trace fixes the problem.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Thu, 04 Jul 2024 01:10:38 -0000</pubDate><guid>https://sourceforge.net311328dd162951a1b05b8df93f43180524eb3a92</guid></item><item><title>AVOPCOMP SIGSEGV</title><link>https://sourceforge.net/p/cpseis/bugs/155/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 155 has been modified: AVOPCOMP SIGSEGV&lt;br/&gt;
Edited By: seismick (seismick)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Thu, 04 Jul 2024 01:10:38 -0000</pubDate><guid>https://sourceforge.netf9c8878689f53f1059ab2d82b467ad91ccd7b666</guid></item><item><title>#152 undefined variable in ppavo.f90</title><link>https://sourceforge.net/p/cpseis/bugs/152/?limit=25#127e</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seismick</dc:creator><pubDate>Tue, 02 Jul 2024 03:04:44 -0000</pubDate><guid>https://sourceforge.net87c52206b494cff1d81c39e6e6b710f262f648d4</guid></item></channel></rss>