Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] Melhorias no script de geometria #38

Open
sanmurilo opened this issue Apr 9, 2020 · 1 comment
Open

[TEST] Melhorias no script de geometria #38

sanmurilo opened this issue Apr 9, 2020 · 1 comment
Assignees
Labels
test Automatic tests

Comments

@sanmurilo
Copy link
Contributor

sanmurilo commented Apr 9, 2020

🚧 Teste Automatizado

Descreva sua solicitação de teste automatizado abaixo

Implementar no script de geometria novas chaves. Por exemplo fazer inserir d2 que é o incremento em x para plotar em função do tamanho do modelo e não em função do CDP.

Como o teste deve ser realizado
distx=12000 # distancia em x do modelo ou linha
ncdp=$(sugethw < $outtemp2 output=geom key=cdp | sort -n | tail -1 | cut -d" " -f1) # numero de cdps do dado
a=$(echo "$distx / $ncdp / 1000" | bc -l) # calculando d2 (incremento em x)

~$ sushw < $outtemp2 key=d2 a=$a > $outtemp4
~$ mv $outtemp4 $outtemp2

Resultado esperado

"geometria.sh"

Versão do programa

Nenhuma. Primeira versão em desenvolvimento.

Adicione contexto

http://ensiklopediseismik.blogspot.com/2010/11/seismic-processing-with-seismic-unix_25.html?m=1
https://github.com/JohnWStockwellJr/SeisUnix/wiki/Seismic-Unix-data-format
WhatsApp Image 2020-04-09 at 00 34 52

@sanmurilo sanmurilo added the test Automatic tests label Apr 9, 2020
@Dirack Dirack added this to To do in processamentoSismicoSU versão 1.0 - beta via automation Apr 10, 2020
@Dirack Dirack added this to the proSU v1.0-beta.1 milestone Apr 10, 2020
@Dirack
Copy link
Collaborator

Dirack commented Apr 10, 2020

@sanmurilo, não entendi como funciona o teste proposto. Os links sobre a geometria nos arquivos SU ficariam melhor em uma issue do tipo documentation request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Automatic tests
Development

No branches or pull requests

2 participants