Art's archive

8-16-2012

7-26-2012

7-5-2012

6-28-2012

6-21-2012

6-14-2012

6-7-2012

10-13-2011

10-06-2011


09-08-2011


08-11-2011


03-10-2011


03-03-2011


02-03-2011


01-28-2011


01-21-2011


01-14-2011


01-13-2011


01-06-2010


12-09-2010


12-02-2010


11-19-2010


11-18-2010


11-04-2010


10-21-2010


10-07-2010


09-16-2010


08-12-2010


08-05-2010


07-29-2010


07-22-2010


07-15-2010


07-01-2010


06-24-2010


06-10-2010


06-03-2010


05-27-2010


05-20-2010


05-13-2010

Dont ask user if they want to delete a series that they are trying to subscribe to but in fact they already have such a series on their site. Instead, tell them that they cant resubscribe to a series if they already are subscribed to it, and that they should unsubscribe first if they want to re-subscribe to it.


05-06-2010


04-15-2010


04-08-2010


04-01-2010


03-25-2010


03-18-2010


03-11-2010


03-04-2010


02-25-2010


02-18-2010


02-11-2010


02-04-2010



01-28-2010


01-21-2010


01-14-2010


01-07-2010


12-03-2009


11-26-2009


11-19-2009


11-12-2009


11-5-2009


10-22-2009


10-08-2009


10-01-2009


09-24-2009


09-17-2009


09-10-2009


09-03-2009


08-27-2009


08-20-2009


08-13-2009


08-06-2009


07-30-2009


07-09-2009


07-02-2009


06-25-2009


06-18-2009


06-11-2009


06-04-2009


05-28-2009


05-21-2009


05-14-2009


05-07-2009


04-30-2009


04-23-2009


04-16-2009


04-09-2009


04-02-2009


03-26-2009


03-19-2009


03-12-2009


03-05-2009


02-26-2009


02-05-2009

01-29-2009


01-22-2009


01-15-2009


01-08-2009


12-18-2008


12-11-2008


12-4-2008


11-27-2008


11-20-2008


11-13-208


11-06-2008


10-30-2008

     if (time_is_invalid (val->time_val)) {
       fprintf (stderr, "ERROR: Invalid time string %s\n", str);
       XASSERT(0);
     }


10-23-2008


10-16-2008


10-09-2008

for (1 to n) {

}

fits_get_img_param() wants to read a couple of keywords from the header. fits_write_img() wants to see and write data. On each iteration, the fits_get_img_param() call will cause a read miss - the data that you want aren't in a buffer because cfitsio has already flushed that buffer. So there must be a file seek followed by a read. The fits_write_img() call will use up all the buffers so that the next fits_get_img_param() call will be a miss again. BTW, fits_write_img() does some reading as well as writing, presumably for the same reason that it needs more buffers than are available. Unlike the fits_get_img_param() call, I haven't traced exactly when this happens - doing that would be a bit time consuming, and I think the issue is the same as with the fits_get_img_param() call. To verify my suspicions, I did the first call 2x in a row:

fits_get_img_param(fileptr, ...); fits_get_img_param(fileptr, ...);

The first time, there was a read miss (and hence disk read). But the second time, there wasn't. That is because with these calls, not all buffers get used up (all the data needed by this call lives in one record, and that is easily contained in a buffer, whereas with fits_write_img(), a large number of buffers needs to be used, even on my test which was 192 x 192 images).


10-02-2008


09-25-2008


09-18-2008


09-11-2008


09-04-2008


08-28-2008


08-21-2008


08-14-2008


08-07-2008


07-31-2008


07-24-2008


07-17-2008


07-10-2008


07-03-2008


06-26-2008


06-19-2008


06-12-2008


06-05-2008


05-29-2008


05-22-2008


05-15-2008


05-08-2008


05-01-2008


04-24-2008


04-17-2008


04-10-2008


04-03-2008


03-27-2008






JsocWiki: ArtsProgress (last edited 2013-05-01 04:35:25 by localhost)