| 1 | |
| 2 | == Checking a record number == |
| 3 | |
| 4 | If the URL : |
| 5 | |
| 6 | {{{ |
| 7 | http://vso2.tuc.noao.edu/cgi-bin/drms_test/drms_export.cgi?series=hmi__M_45s;record=12697191-12697191 |
| 8 | }}} |
| 9 | |
| 10 | fails to download, then we need to use show_info to check on that record number and get a storage unit number (sunum) : |
| 11 | |
| 12 | {{{ |
| 13 | show_info -S ds="hmi.m_45s[?t_rec_index=12697191?]" |
| 14 | sunum |
| 15 | 136331652 |
| 16 | }}} |
| 17 | |
| 18 | And then query JSOC about that sunum : |
| 19 | |
| 20 | {{{ |
| 21 | wget -O - "http://jsoc.stanford.edu/cgi-bin/ajax/jsoc_fetch_VSO?op=exp_su&method=url_quick&requestid=none&formatvar=dataobj&format=json&protocol=as-is&sunum=136331652" |
| 22 | }}} |
| 23 | |
| 24 | |
| 25 | which might return something like : |
| 26 | |
| 27 | {{{ |
| 28 | {"count":1,"size":0,"dir":"","data":{"136331652":{"sunum":"136331652","series":"NA","path":"NA","sustatus":"N","susize":"0"}},"requestid":"","method":"url_quick","protocol":"as-is","wait":0,"status":0} |
| 29 | }}} |
| 30 | |
| 31 | Indicating that the sunum does not exist at JSOC (the NA's indicating that things like the path are not properly set). It could be that this means that you have to contact JSOC to resolve the problem. Even after the problem is resolved, it could be that the local JMD has (correctly) marked it as being offline and won't download it until the JMD's internal database is cleaned out by doing something like : |
| 32 | |
| 33 | {{{ |
| 34 | /opt/JMD/bin/jmdij |
| 35 | delete from drms.su_cache where state='OFLN'; |
| 36 | exit; |
| 37 | }}} |
| 38 | |
| 39 | Or, equivalently : |
| 40 | |
| 41 | {{{ |
| 42 | echo "delete from drms.su_cache where state='OFLN';" | /opt/JMD/bin/jmdij |
| 43 | }}} |
| 44 | |
| 45 | The path /opt/JMD may be different on your system depending on where the JMD is installed. |
| 46 | |