[ncl-talk] CFSv2 OPeNDAP variable issue

Adam Turchioe Adam_Turchioe at cargill.com
Fri Oct 6 04:56:09 MDT 2017


Hi NCL-talk,

I'm a little perplexed at an issue I've been having. I am using OPeNDAP to read CFSv2 files from https://rda.ucar.edu/thredds/catalog/files/g/ds094.0/2017/catalog.html. When I read in and plot certain variables (2m temp, precip, DSWR) it runs successfully, but other variables (snow depth, soil moisture) the script stalls just as it's about to export the PNGs. If I don't close the script, it will just keep running forever...

This issue has me at a total loss. I've attached the strace command for the failed attempt (reading soil moisture) vs the successful attempt (reading 2m temps) below. Any help or ideas would be much appreciated!

Cheers,
Adam



                                Failed Attempt

read(271, "D\0\0\0\4\0\0\0\253\32\0\0\243\1\0\0", 16) = 16
read(271, "\224\1\320\301\224\1\320\301\31\3\nCn\3\1C\224\1\320\301n\3\1C\224\1\320\301\243J\1C"..., 288) = 288
read(271, "0\0\0\0\4\0\0\0\261\32\0\0\243\1\0\0", 16) = 16
read(271, "\224\1\320\301\226\t\350\301\223\5\rC\31\3\nC\224\1\320\301\31\3\nC\224\1\320\301NO\nC"..., 208) = 208
read(271, "*\0\0\0\4\0\0\0\4\24\0\0\243\1\0\0", 16) = 16
read(271, "\226\t\350\301\311H\10\302\223\5\rC\223\5\rC\226\t\350\301\223\5\rC\2251\352\301\223\5\rC"..., 184) = 184
read(271, "$\0\0\0\4\0\0\0\16\0\0\0\243\1\0\0", 16) = 16
read(271, "\311H\10\302\313>\30\302\223\5\rC\200\371\fC\311H\10\302\223\5\rC\311H\10\302\200\371\fC"..., 160) = 160
read(271, "N\0\0\0\4\0\0\0\253\32\0\0\261\32\0\0", 16) = 16
read(271, "\221m\204\301\224\1\320\301\31\3\nC\31\3\nC\224\1\320\301\31\3\nC\224\1\316\301\31\3\nC"..., 328) = 328
read(271, "\310\0\0\0\4\0\0\0\4\24\0\0\16\0\0\0", 16) = 16
read(271, "\311H\10\302j\315\25\302\342\311\25C\223\5\rC\311H\10\302\223\5\rC\304\\\10\302\352#\rC"..., 816) = 816
read(271, "\4\0\0\0\4\0\0\0\4\24\0\0\16\0\0\0", 16) = 16
read(271, "j\315\25\302\303\20\26\302\177\363\25C\342\311\25Cj\315\25\302\342\311\25C\303\20\26\302\177\363\25C", 32) = 32
read(271, "\242\0\0\0\4\0\0\0\261\32\0\0\4\24\0\0", 16) = 16
read(271, "\325\276\341\301O;\351\301\22\221\31C\223\5\rC\226\t\350\301\223\5\rC\226\t\350\301\301N\rC"..., 664) = 664
read(271, "X\0\0\0\4\0\0\0\237\32\0\0\4\24\0\0", 16) = 16
read(271, "q\211\f\302\210\256\17\302\215_\25C\353\312\24C\312\254\17\302\223\7\25CX\220\17\302\266\24\25C"..., 368) = 368
read(271, "\26\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "b\370\201\301\373\5\202\301\266anB\370YnB\0\0\202\301\370YnB\373\5\202\301\3]nB"..., 104) = 104
read(271, "\26\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "9\34\203\301W!\203\301\244\226nB+\223nB{ \203\301+\223nBW!\203\301\241\223nB"..., 104) = 104
read(271, "\34\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\251^\203\301\5i\203\301sznB\222snB\263d\203\301\222snBvf\203\301stnB"..., 128) = 128
read(271, "\22\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\224\223\203\301\315\230\203\301\231snB\nqnB\346\227\203\301\22qnB\315\230\203\301}qnB"..., 88) = 88
read(271, "\32\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\244\274\203\301.\305\203\301+YnB\rTnB\200\302\203\301\rTnB.\305\203\301OUnB"..., 120) = 120
read(271, "\30\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\365\\\204\301\212e\204\301;\rnB_\6nB\373b\204\301f\6nB\212e\204\301\236\7nB"..., 112) = 112
read(271, "\26\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\322\306\204\301\17\321\204\301\303\25nB\312\17nB\200\316\204\301\322\17nB\17\321\204\301\n\21nB"..., 104) = 104
read(271, "\20\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\251j\205\301\327o\205\301\305rnBTonB\205k\205\301TonB\327o\205\301pqnB"..., 80) = 80
read(271, "\20\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\361:\205\301\263A\205\301f\206nB\244\204nB$?\205\301\251\204nB\263A\205\301\370\205nB"..., 80) = 80
read(271, "\24\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\200\375\204\301\257\2\205\301)\202nB\215\177nB\303\1\205\301\215\177nB\217\2\205\301\370\177nB"..., 96) = 96
read(271, "\20\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\37\321\204\301M\326\204\301;\223nBp\221nBb\325\204\301x\221nB.\326\204\301\344\221nB"..., 80) = 80
read(271, "\30\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\322\306\204\301\\\317\204\301\312\311nBY\306nBq\311\204\301_\306nB\n\313\204\301;\307nB"..., 112) = 112
read(271, "0\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\373\205\206\301\354\221\206\301\317\3nB\2\367mB\37\221\206\301\2\367mB\354\221\206\301p\367mB"..., 208) = 208
read(271, "\34\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\217\202\206\301$\213\206\301\351\16nB;\7nB\225\210\206\301;\7nB$\213\206\301\210\10nB"..., 128) = 128
read(271, "@\0\0\0\1\0\0\0\2\1\0\0\2\0\0\0", 16) = 16
read(271, "\303\265\236\301\251\331\236\301\246'gB+\31gBC\320\236\301+\31gBW\325\236\301\273\33gB"..., 272) = 272
read(271, "F\0\0\0\1\0\0\0\2\1\0\0\2\0\0\0", 16) = 16
read(271, "\271\352\236\301C\20\237\301\314\240fB\312\217fB\0\f\237\301\312\217fB\200\16\237\301\n\221fB"..., 296) = 296
read(271, "P\0\0\0\1\0\0\0\2\1\0\0\2\0\0\0", 16) = 16
read(271, "\251v\237\301\354\221\237\301\344wfB\22kfB\20\200\237\301\22kfBb\204\237\301+mfB"..., 336) = 336
read(271, "r\0\0\0\1\0\0\0\222\2\0\0\2\0\0\0", 16) = 16
read(271, "d\237\230B\3059\230Bw`\301B\244\244\276B\327\223\230B\0\0\300Bt\212\230BO\333\277B"..., 472) = 472
read(271, "\"\0\0\0\1\0\0\0\306\32\0\0\2\0\0\0", 16) = 16
read(271, "83\230B@\364\227Bi\262\302B\21n\301B\357\33\230B\0\0\302B\370\25\230B\t\321\301B"..., 152) = 152
read(271, "\"\0\0\0\4\0\0\0\374\1\0\0\264\32\0\0", 16) = 16
read(271, "\206c Bn\314\36B\307m\352B\340s\351Bn\314\36B\1\310\351B\246\376\36B\200\316\351B"..., 152) = 152
read(271, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
close(271)                              = 0


                                Successful Attempt

read(271, "\30\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\322\306\204\301\\\317\204\301\312\311nBY\306nBq\311\204\301_\306nB\n\313\204\301;\307nB"..., 112) = 112
read(271, "0\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\373\205\206\301\354\221\206\301\317\3nB\2\367mB\37\221\206\301\2\367mB\354\221\206\301p\367mB"..., 208) = 208
read(271, "\34\0\0\0\1\0\0\0\304\32\0\0\2\0\0\0", 16) = 16
read(271, "\217\202\206\301$\213\206\301\351\16nB;\7nB\225\210\206\301;\7nB$\213\206\301\210\10nB"..., 128) = 128
read(271, "@\0\0\0\1\0\0\0\2\1\0\0\2\0\0\0", 16) = 16
read(271, "\303\265\236\301\251\331\236\301\246'gB+\31gBC\320\236\301+\31gBW\325\236\301\273\33gB"..., 272) = 272
read(271, "F\0\0\0\1\0\0\0\2\1\0\0\2\0\0\0", 16) = 16
read(271, "\271\352\236\301C\20\237\301\314\240fB\312\217fB\0\f\237\301\312\217fB\200\16\237\301\n\221fB"..., 296) = 296
read(271, "P\0\0\0\1\0\0\0\2\1\0\0\2\0\0\0", 16) = 16
read(271, "\251v\237\301\354\221\237\301\344wfB\22kfB\20\200\237\301\22kfBb\204\237\301+mfB"..., 336) = 336
read(271, "r\0\0\0\1\0\0\0\222\2\0\0\2\0\0\0", 16) = 16
read(271, "d\237\230B\3059\230Bw`\301B\244\244\276B\327\223\230B\0\0\300Bt\212\230BO\333\277B"..., 472) = 472
read(271, "\"\0\0\0\1\0\0\0\306\32\0\0\2\0\0\0", 16) = 16
read(271, "83\230B@\364\227Bi\262\302B\21n\301B\357\33\230B\0\0\302B\370\25\230B\t\321\301B"..., 152) = 152
read(271, "\"\0\0\0\4\0\0\0\374\1\0\0\264\32\0\0", 16) = 16
read(271, "\206c Bn\314\36B\307m\352B\340s\351Bn\314\36B\1\310\351B\246\376\36B\200\316\351B"..., 152) = 152
read(271, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
close(271)                              = 0
open("./TAnom_CFSR_PrevDays_MTD.png", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 271
fstat(271, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0c3ef0f000
write(271, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\3R\0\0\3R\10\2\0\0\0\340Dh"..., 4096) = 4096
write(271, "\256\246\242\242r\345\312\25\274B\317\236=\251[X\272t)A\251\355\363\361\361\241^\270\273u\353&"..., 4096) = 4096
write(271, "C\303\276\211\23'n\333\266\355\332\265k\223'O\16\v\v+))\221x\367\214\257\21\22\3338\360"..., 4096) = 4096
write(271, "m\333\266m\224_7\0\250\232 \354\3\340gB\r\373\232\272,\315\324\276}\373<<<V\256\\"..., 4096) = 4096
write(271, " \20\f\36<\370\370\361\343\4A \204\10\202\340p8d\3\320\334\271s;t\350\320\256]\273w"..., 4096) = 4096
write(271, "\320%\314a\341\17\36\32\273xzzr8\234\7\17\36\364\352\325\213B\363q8\234\216\35;\336\271"..., 4096) = 4096
write(271, "\2155\352\207\n\332\264\240\21\303AS\371\261k\366cE\336\261\245\21u\30\377\26Ls\367\365\241U"..., 4096) = 4096
write(271, "\335@%\305\334\334\334\266n\335\272a\303\206c\307\216\341k\227n\310\347r!|\246GvBp\352"..., 4096) = 4096
write(271, "R\\\252\272\263\324\255[\227\315\256\21\10u\220\354C\324Xn\334\270\321\276}\373\277\376\372\253\240\240"..., 4096) = 4096
write(271, "\r\361\372\251\322On.\334\t#]\361\305\257\336H\231\365c\212J\360\324d\320\262\374\251\231\375t"..., 4096) = 4096
write(271, "\356\334\271\263s\347\316\326\255[K\245\322\305\213\27\27\27\27'$$,^\2748\"\"\202\315\221#"..., 4096) = 4096
write(271, "(4?\376\200\37\3s\240e\371\237\270\371!\204n\27\332_\354B\346g\4\347c\326\246\232\371]"..., 4096) = 4096
write(271, "\250\r\347\241e\306r^\374\340\34f\377|\206\322PY\346Ga\364\216 \10\314O\311)\255f9"..., 4096) = 4096
write(271, "\333\332\377ol\314o\3377t\273\34\16\7\270\234\1\335\363\7\n~\341\344\311\223\213\26-\"\312e"..., 4096) = 4096
write(271, "j\247\250<\347\303\317\206\341\345\357\331\27/\315\232{\231\367\253\330\330\330\201\3\7j\234\0375\260\216"..., 4096) = 4096
write(271, "4\213\374\331\320D\217Q\332(#\34\347\v:\231\261\36\224\274\327\251r\347\243\202TD322\262"..., 4096) = 4096
write(271, "^\6\254\236\374h\265r\225\245q\26s\276l5\273\2513i\7x\272\243^<\310\250\221\246\202b"..., 4096) = 4096
write(271, "\224\236[\300\374\330(\250\31\262q\343F\237\317\7\0III\343\307\217\247\226%\375\260\265\217\220\247"..., 4096) = 4096
write(271, "\0\0\202\202\202\376\372\353\257\360\360pj\316g\26X\300\237\273e1i\322\244?\376\370\3\0\304b"..., 4096) = 4096
write(271, "\362\345\313\211\2730\202\0\311>\n\341\361xx\303\267\366E\321\251Qf\332\2136B\344\31S\355\341"..., 4096) = 4096
write(271, "Z\362\246\225\212n\244\361\263\313\305>\366\f_G\206=Kze\4b\354\363`;\313\220\212z\v"..., 4096) = 4096
write(271, "b2\321\370>\2ab\276\371\346\33\"\310\217\301`(M\321\267d\311\22\"\375\247*x<\336\374"..., 4096) = 4096
write(271, "e\v%\30\214h\341\370\3530\225\243\231|\21\326|M\346\373|!\0\260\31\264\16\365lG\267p"..., 4096) = 4096
write(271, "\244\323j\354\301\362\323\27j\312+d\17\36\213\313\313e2%\2231\32\365\264\356\216N\235:\275\363"..., 4096) = 4096
write(271, "v\3\203\274\0\320r.^\2748n\3348www??\277\35;v\310\377\331y\352\324\2515k"..., 4096) = 4096
write(271, "\342+\262\355b\265\225\333\231\333.\221H4~\374\370\277\377\376;  \340\332\265k\364\270\230\211\211"..., 779) = 779
close(271)                              = 0
munmap(0x7f0c3ef0f000, 4096)            = 0
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fffdee177c8) = 7337
wait4(7337, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 7337
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fffdee177c8) = 7338
wait4(7338, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 7338
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fffdee177c8) = 7346
wait4(7346, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 7346
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
write(1, "(0)\tOutput image!\n", 18(0)  Output image!
)    = 18
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x37f4632660}, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fffdee177c8) = 7347
wait4(7347, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 7347
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x37f4632660}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
write(1, "(0)\tyou are finished!\n", 22(0)      you are finished!
) = 22
read(10, "", 8192)                      = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffdee17800) = -1 ENOTTY (Inappropriate ioctl for device)
munmap(0x7f0c8afda000, 4198400)         = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4632660}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
close(113)                              = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
write(114, "\25\3\3\0\32\260\237\256n\336\347\2553k\247\241\236\251\2212J\353_K\354O$\363\255\26!", 31) = 31
close(114)                              = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x37f4a0f7e0}, NULL, 8) = 0
open("/home/a079441/.urs_cookies", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 113
fstat(113, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0c8b3da000


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171006/9492e115/attachment.html>


More information about the ncl-talk mailing list