On Tue, Jun 14, 2016 at 4:56 AM, Lee, Kyo (398L) <huikyo....@jpl.nasa.gov> wrote:
> Dear Ibrahim, > > Thank you for the great work. > > 1. What is the difference between a Dataset and a Model? > Omkar Reddy explained me some stuff related to it but I'm still not clear > on the exact difference. > I'm trying to write tests for the > *write_netcdf_multiple_datasets_with_subregions > *function in dataset processor module that requires a ref_dataset and model > dataset array along with other paramaters. > What data should I pass for the model dataset array argument? > > ⇒ Either output from climate models (Model) or observational datasets can > be loaded as an OCW dataset. > The working example of ‘write_netcdf_multiple_datasets_with_subregions’ > can be found RCMES/run_RCMES.py. > You can download this file ( > https://rcmes.jpl.nasa.gov/RCMES_Turtorial_data/pr_WRFG_monthly_1980-2003.nc) > and use it to test the modules. > > Thank you! > 2. I need to write test for the functions that load the following type of > file: > WRF_2d_files_RAIN > NLDAS_forcingA_files > GPM_IMERG_files > > I'm unable to find these files to create mock objects that can be used to > tests these functions. I need at least one file of each type so that I can > replicate the dataset for testing. Could anyone help me create the mock > objects or just provide me these files? > CLIMATE-787 <https://issues.apache.org/jira/browse/CLIMATE-787> > > ➢ I will prepare the files and send you the link to download them. > > > That'll be great. 3. The esgf module is still broken. The SSL error is not yet fixed. I > cannot tests the module if the module itself is not working. > > How did you test the esgf module? Did you use > ‘esgf_integration_example.py’ in the examples folder? > > > Yes. I tried running the esgf_integration_example.py file. Here is the error log [0]. > 4. There are multiple pull requests open on github. I'd really appreciate > if someone could review it ASAP. > > ➢ I will review and merge them. > > No problem. Lewis reviewed the pull requests and we merged them yesterday. [0] - http://pastebin.com/JvyJzRFB Thanks, Ibrahim > On 6/10/16, 10:59 AM, "Ibrahim Jarif" <jarifibra...@gmail.com> wrote: > > >Hello Developers, > > > >I'm Ibrahim. I'm working on improving the test framework for the OCW > >project. I'm having some difficulties and I was wondering if anyone could > >help me. > > > >1. What is the difference between a Dataset and a Model? > >Omkar Reddy explained me some stuff related to it but I'm still not clear > >on the exact difference. > >I'm trying to write tests for the > >*write_netcdf_multiple_datasets_with_subregions > >*function in dataset processor module that requires a ref_dataset and > model > >dataset array along with other paramaters. > >What data should I pass for the model dataset array argument? > > > >2. I need to write test for the functions that load the following type of > >file: > >WRF_2d_files_RAIN > >NLDAS_forcingA_files > >GPM_IMERG_files > > > >I'm unable to find these files to create mock objects that can be used to > >tests these functions. I need at least one file of each type so that I can > >replicate the dataset for testing. Could anyone help me create the mock > >objects or just provide me these files? > >CLIMATE-787 <https://issues.apache.org/jira/browse/CLIMATE-787> > > > >3. The esgf module is still broken. The SSL error is not yet fixed. I > >cannot tests the module if the module itself is not working. > > > >4. There are multiple pull requests open on github. I'd really appreciate > >if someone could review it ASAP. > > > >Thank you for your time. > > > >Best, > >Ibrahim > >