Second Third of the Post Mid Evaluations Coding Period

So Cadair asks : How’s it going ?

h13A5D307.jpeg

Okay. Time to get back to work.

Now was the time for implementing the downloading and adding database entries from a Fido search result. But wait.

Something is wrong. Very worgn. And this is even before I start my implementation.

The files aren’t getting downloaded into the correct location, which means there is a problem with the usage with the page argument in Fido’s fetch() function.

Issue was created here : GenericClient dosen’t handle `path` kwarg

Guess who has to fix it ?  😐

So I started the (irritating) work of resolving the path issue, which took the whole of the second fortnight after mid-evals.

Finally fixed it here : [unidown] Fixes #1854  >:D

chickencatinterview.jpg

First Third of the Post Mid Evaluations Coding Period

I give up. I can’t do it anymore. After a lot of trying and thinking, I have finally decided to give up trying to fix the copybutton.

So here’s a list of what I did in the fortnight following the Mid-Eval verdict :

  • Code – Nothing (Successful)  😎
  • Blog – Trying to figure out what to write in the blog, since I did nothing (Fail)  :/
  • Trying to figure out a decent heading for each of my new blog posts (Fail)  😥

So here’s something for the blog….

azAAmbN_700b_v2.jpg

Judgement Week

ad_161782930-e1425468534725

This is it.

The Mid Evaluation week.

I decided to STOP doing anything until I fix SunPy’s copybutton.  But that turned into a nightmare as I tried everything, but couldn’t get it to work….

Finally me and Cadair found out what we were lacking.

Patience.

cg4d33ea251a3d8.tiff_lr

I don’t have any hopes whatsoever of getting this issue solved.

16nm0v

Okay, what else….

Ohhhh Brexit, and, well Brexit2 from the Euros…

Second Half of the Pre Mid Evaluations Coding Period

7d1e0a2a72696909ec1dd0edeed9b8d5.jpg

I KNOW……

I KNOW…………….

But I can’t think of a heading  😦

Possible Explanation :

cat_proximity

Well, I got kicked out…..

From a SunPy dev meeting ( sorry to disappoint )

I was causing too much noise. Well, technically it was my laptop fan. But Cadair covered for me. Again.

So, getting to my work on a serious note ( don’t judge a blog by its pictures ),  work on Adding Fido entries to the Database continued from the previous fortnight.

Now there is a add_from_fido_search_result() function which enables users to add entries returned from any Fido search result to the database. Currently only JSOC results cannot be added to the database.

Aaaaand as usual, finding a small query for the test functions was frustrating. So I didn’t find one. Used a big one 😀

No, seriously it IS difficult to find a query with a small number of results.

Have a look at it here : Add Fido search results to the database

So now I head into the Mid Evaluations Period, officially behind schedule. Well, it’s complicated.

Now I await my fate………………

Scared-Cat

First Half of the Pre Mid Evaluations Coding Period

loEKU81466020511

I know I know I should have come up with a better heading. Anyways, let’s begin.

So, here it is. Oooooh, the serious part. The coding period. Again, I dunno what to do.

Really 😦

Unidown had issues ( lots to be fair ) which was not allowing ( honestly, I couldn’t find a better word ) me to work on the first part of my project.

XH3uJg1466022578

Meanwhile SunPy had started work on their new SunPy Example Gallery which basically contains examples for people to see what SunPy’s different modules can do.

So me and Cadair had a meet and it was decided that I should make examples for the Database Module of SunPy. This had to be short but yet should give a good idea to the people on what the Database Module is capable of. If used on a regular basis, it will allow users to :

  • manage files easily
  • use common storage so that a group of people can share the same data
  • save time and bandwidth as there is no need to download the same data twice

It did take some time to prepare and organize what’ll go where as I had to travel during this time, but I did complete it ( after Sphinx nightmares ). 😀

You can take a look at it here : Quick Examples for the database package

Aaaand again a meeting with Cadair. This time unidown was in a much (much) better state and we decided that I should start implementing the First Part of my proposal and we’ll tackle any issues as they come. And so work on adding Fido search results to the database began….

JUIWAK1466022981

This work continues into the Second Half of the Pre Mid Evaluation Coding Period.

I know I know, that heading again. Jeez

It Begins…. Community Bonding

first contact

Now that the Google Summer of Code 2016 (yes, I wrote that whole thing instead of GSoC ’16) has officially started, I don’t know what to do.

😐 I really don’t.  😐

Well, I had a lot of plans (Really? I wrote those things? Wow…) for this period in my proposal but they just seem trivial now, reading code and all that stuff. Thanks to my work before the proposal submission I have a good idea on exactly what to do and how to do it.

So most of the Community Bonding period went by and I did nothing. Literally, nothing.

 

1

 

2

 

3
Source : theoatmeal.com/comics

 

So, coming back to topic ( not really 🙂 ), there were approximately 10 days left and I decided to do code up some new feature and after a meeting with Cadair we decided that I should try to implement a VSO ( go here ) caching mechanism which would save bandwidth and hence save time ( a lot of time ).

The problem was that currently the SunPy database module had a cache which did not download files only if any query was exactly identical to a previous query ( for which files were downloaded successfully ). So if there were 2 queries that were slightly different but had a large overlap, all files would be downloaded again for the second query.

So I did manage to accomplish that feature in the end (easy to say). As you may have guessed by now (duh!), an additional advantage was that users can now download files for a large query and then can peacefully 😀 work  on any subset of that query. Yes, highly productive work.

You can have a look at it here : VSO query result block level caching

I also had a look at my previous pending Pull Requests and made some changes according to the review comments.

And after that, well, the Community Bonding period ended. What did you expect, an alien invasion?

🙂