Hi Lewis,
Thanks for the reply.

> 1. In ocw/data_source/local.load_WRF_2d_files
> > <
> https://github.com/apache/climate/blob/master/ocw/data_source/local.py#L116
> >,
> > what are WRF files? Where can I download the WRF files to test this
> > function?
> >
> https://en.wikipedia.org/wiki/Weather_Research_and_Forecasting_Model
> You should be able to find something from there I would imagine. If anyone
> on this list is able to provide Ibrahim with a WRF file directly then
> please do.


I have downloaded the "January 2000 wrf output data" WRF file from here
<http://www2.mmm.ucar.edu/wrf/users/download/test_data.html>. Is this the
correct file? Should I should use this file to test load_WRF function? I
tried loading the downloaded WRF file using the load function but got
`invalidNetCDF` file exception.

The size of this file was above 30mb and there are two more functions that
require external files for testing. We should create mock datasets and
objects to test these functions rather than downloading the entire files.
Can you or someone else please help me create mock objects to test some
functions (like the one used in test_rcmed.py)?

Is there some kind of netCDF viewer that I can use to view the netCDF
files? I tried using "IDV netCDF viewer" but it was too cryptic for me to
understand.

I have created an issue on JIRA
<https://issues.apache.org/jira/browse/CLIMATE-786> that I found today and
have a fix ready for it.
I have also setup codecov <http://codecov.io/> to better analyze the
coverage of unit tests.

Should I send the PR(s) right now or wait for the GSoC coding session to
start and then send the PR(s)? These PR(s) could be part of my GSoC project
as they fix the unit tests and increase the coverage of tests. Will it be
wrong if I

I tried accessing builds.apache.org via ssh but I couldn't. Could you
please follow this link
<http://wiki.apache.org/general/Jenkins#How_do_I_get_an_account>
and grant me the access to ocwJenkins build? The configuration on Apache
Jenkins might be different from the usual Jenkins configuration and I need
to have a look. My username: jarifibrahim and email: jarifibra...@gmail.com
for Apache Builds.

One last question. Should all these questions be on JIRA and not the
mailing list? :D

Thanks,
Ibrahim

On Thu, Apr 28, 2016 at 8:05 PM, Lewis John Mcgibbney <
lewis.mcgibb...@gmail.com> wrote:

> Forgot to CC dev@
>
> ---------- Forwarded message ----------
> From: Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
> Date: Thu, Apr 28, 2016 at 7:35 AM
> Subject: Re: [HELP] OCW - Improving Testing framework
> To: Ibrahim Jarif <jarifibra...@gmail.com>
>
>
> Hi Ibrahim,
> CC'ing dev@,
>
> On Thu, Apr 28, 2016 at 12:09 AM, Ibrahim Jarif <jarifibra...@gmail.com>
> wrote:
>
> > Hi Lewis,
> > For the past few days I've been reading the docs at
> > https://cwiki.apache.org/confluence/display/CLIMATE/Home and trying to
> > understand the project better.
> >
>
> Good.
>
>
> > I've figured out much of the stuff related to Continuous Integration but
> > I'm still struggling with the tests.
> >
>
> OK. I think you mean you've fingured out how CI will work but not what kind
> of CI is required right...!
>
>
> > Could you please answer the following questions and provide some
> > references for further reading (wherever possible)?
> >
> > 1. In ocw/data_source/local.load_WRF_2d_files
> > <
> https://github.com/apache/climate/blob/master/ocw/data_source/local.py#L116
> >,
> > what are WRF files? Where can I download the WRF files to test this
> > function?
> >
>
> https://en.wikipedia.org/wiki/Weather_Research_and_Forecasting_Model
> You should be able to find something from there I would imagine. If anyone
> on this list is able to provide Ibrahim with a WRF file directly then
> please do.
>
>
> > 2. In ocw/data_source/local.load_NLDAS_forcingA_files
> > <
> https://github.com/apache/climate/blob/master/ocw/data_source/local.py#L510>,
> what
> > are NLDAS2 forcingAWRF files? Where can I download them?
> >
>
> http://ldas.gsfc.nasa.gov/nldas/NLDAS2forcing.php
> Please do some research on this page. I looked for 2 minutes and can see
> some download links.
>
>
> > 3. In /ocw/data_source/local.load_GPM_IMERG_files
> > <
> https://github.com/apache/climate/blob/master/ocw/data_source/local.py#L574
> >,
> > what are GPM Level 3 IMEGE files? Where can I download them?
> >
>
> http://pmm.nasa.gov/data-access/downloads/gpm
> i looked here for two minutes and there are downloads available from here.
>
>
> >
> > These functions are not covered by the existing Unit Tests and I'll have
> > to fix it. So I need to have a clear understanding of what they are and
> how
> > they work.
> >
> >
> Understood. Thanks. Please open Jira issues for everything you are working
> on. Your pull request commit messages should be exactly the Jira issue
> title this way the automated hooks will ensure all development and
> correspondence is shadowed over to the issue tracker.
> Thanks
> Lewis
>
>
>
> --
> *Lewis*
>

Reply via email to