Changes between Initial Version and Version 1 of drmsCheckRecnum


Ignore:
Timestamp:
06/16/14 09:36:11 (10 years ago)
Author:
niles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • drmsCheckRecnum

    v1 v1  
     1 
     2== Checking a record number == 
     3 
     4If the URL : 
     5 
     6{{{ 
     7http://vso2.tuc.noao.edu/cgi-bin/drms_test/drms_export.cgi?series=hmi__M_45s;record=12697191-12697191 
     8}}} 
     9 
     10fails to download, then we need to use show_info to check on that record number and get a storage unit number (sunum) : 
     11 
     12{{{ 
     13show_info -S ds="hmi.m_45s[?t_rec_index=12697191?]"                                                                                                                       
     14sunum                                                                                                                                                                                                                               
     15136331652                                                        
     16}}} 
     17 
     18And then query JSOC about that sunum : 
     19 
     20{{{ 
     21wget -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 
     25which 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 
     31Indicating 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 
     35delete from drms.su_cache where state='OFLN'; 
     36exit; 
     37}}} 
     38 
     39Or, equivalently : 
     40 
     41{{{ 
     42echo "delete from drms.su_cache where state='OFLN';" | /opt/JMD/bin/jmdij 
     43}}} 
     44 
     45The path /opt/JMD may be different on your system depending on where the JMD is installed. 
     46