[ 
https://issues.apache.org/jira/browse/CLIMATE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326519#comment-15326519
 ] 

Ibrahim Jarif edited comment on CLIMATE-787 at 6/12/16 5:42 PM:
----------------------------------------------------------------

[~omkar20895] Yeah. That's a nice idea. I'll modify the downloaded file to 
remove the unnecessary data. That should reduce the file size significantly! 
Thanks :)

BTW I tried loading the file[0] you provided with the functions mentioned in 
the issue description. It didn't work. I'm sorry If I wasn't clear at first, 
I'm looking for files that can be loaded using the  functions in the issue 
description so that these functions could be tested. Thanks!

[0] - 
http://podaac.jpl.nasa.gov/ws/extract/granule?shortName=ASCATA-L2-25km&granuleName=ascat_20130719_230600_metopa_35024_eps_o_250_2200_ovw.l2.nc&bbox=-180,-90,180,90&format=netcdf


was (Author: jarifibrahim):
[~omkar20895] Yeah. That's a nice idea. I'll modify the downloaded file to 
remove the unnecessary data. That should reduce the file size significantly! 
Thanks :)

> Create mock objects for test_local.py
> -------------------------------------
>
>                 Key: CLIMATE-787
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-787
>             Project: Apache Open Climate Workbench
>          Issue Type: Test
>          Components: tests
>            Reporter: Ibrahim Jarif
>
> The current *test_local.py* file tests does not cover the following functions 
> in *local.py*:
> # {code}load_WRF_2d_files(){code}
> # {code}load_dataset_from_multiple_netcdf_files(){code}
> # {code}load_NLDAS_forcingA_files(){code}
> # {code}load_GPM_IMERG_files(){code}
> To test these functions, necessary datasets are required. Downloading the 
> dataset from the internet everytime the tests execute is not an efficient 
> strategy.
> Hence, create mock datasets and objects that can be used to test these 
> functions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to